diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-12-18 06:42:28 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-12-18 06:42:28 +0000 |
commit | 19c28926772fd64f72ede87059fa018caaff92d6 (patch) | |
tree | 46d88fb48b89df9f907c4763f2a67b03edf5d7e8 /lib/Transforms/Scalar/InstructionCombining.cpp | |
parent | 2a8f6597a3814e82e7b202e557541410c9282c33 (diff) |
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
Diffstat (limited to 'lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 8d54e0c983..41ed449958 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; } |