commit | 338ecd5915def7c6661b7c592fd773be156ebe8f | [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 | da9fa439fb8bc7f4fecb1da3dfe2f615b1f0571a [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; }