Add missing instructions to pass

This commit is contained in:
gingerBill
2021-05-15 21:24:17 +01:00
parent 1cf6b6679d
commit fffb83282b

View File

@@ -318,6 +318,8 @@ void lb_run_remove_dead_instruction_pass(lbProcedure *p) {
case LLVMFCmp:
case LLVMSelect:
case LLVMExtractElement:
case LLVMShuffleVector:
case LLVMExtractValue:
removal_count += 1;
LLVMInstructionEraseFromParent(curr_instr);
was_dead_instructions = true;