Commit 48039103 authored by Nikita Popov's avatar Nikita Popov
Browse files

[InstCombine] Remove unnecessary worklist add; NFCI

Again, this will already be added by IRBuilder.
parent fdf31ae3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -432,7 +432,6 @@ Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) {
      // nothing.
      if (CI->hasOneUse() && (CI->getOpcode() != Instruction::BitCast)) {
        Value *EE = Builder.CreateExtractElement(CI->getOperand(0), Index);
        Worklist.AddValue(EE);
        return CastInst::Create(CI->getOpcode(), EE, EI.getType());
      }
    }