commit | 19c28926772fd64f72ede87059fa018caaff92d6 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Thu Dec 18 06:42:28 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Thu Dec 18 06:42:28 2008 +0000 |
tree | 46d88fb48b89df9f907c4763f2a67b03edf5d7e8 | |
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
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 8d54e0c..41ed449 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -3106,6 +3106,7 @@ Constant *NewRHSV = ConstantVector::get(Elts); if (NewRHSV != RHSV) { + AddUsesToWorkList(I); I.setOperand(1, NewRHSV); return &I; }