From: Nick Lewycky Date: Thu, 18 Dec 2008 06:42:28 +0000 (+0000) Subject: Oops! Left out a line. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19c28926772fd64f72ede87059fa018caaff92d6;p=oota-llvm.git Oops! Left out a line. Simplifying the sdiv might allow further simplifications for our users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61196 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 8d54e0c983a..41ed449958a 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -3106,6 +3106,7 @@ Instruction *InstCombiner::visitSRem(BinaryOperator &I) { Constant *NewRHSV = ConstantVector::get(Elts); if (NewRHSV != RHSV) { + AddUsesToWorkList(I); I.setOperand(1, NewRHSV); return &I; }