mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add missing instructions to pass
This commit is contained in:
@@ -318,6 +318,8 @@ void lb_run_remove_dead_instruction_pass(lbProcedure *p) {
|
|||||||
case LLVMFCmp:
|
case LLVMFCmp:
|
||||||
case LLVMSelect:
|
case LLVMSelect:
|
||||||
case LLVMExtractElement:
|
case LLVMExtractElement:
|
||||||
|
case LLVMShuffleVector:
|
||||||
|
case LLVMExtractValue:
|
||||||
removal_count += 1;
|
removal_count += 1;
|
||||||
LLVMInstructionEraseFromParent(curr_instr);
|
LLVMInstructionEraseFromParent(curr_instr);
|
||||||
was_dead_instructions = true;
|
was_dead_instructions = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user