[llvm-commits] [llvm] r61196 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Nick Lewycky
nicholas at mxc.ca
Wed Dec 17 22:42:30 PST 2008
Author: nicholas
Date: Thu Dec 18 00:42:28 2008
New Revision: 61196
URL: http://llvm.org/viewvc/llvm-project?rev=61196&view=rev
Log:
Oops! Left out a line.
Simplifying the sdiv might allow further simplifications for our users.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=61196&r1=61195&r2=61196&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Thu Dec 18 00:42:28 2008
@@ -3106,6 +3106,7 @@
Constant *NewRHSV = ConstantVector::get(Elts);
if (NewRHSV != RHSV) {
+ AddUsesToWorkList(I);
I.setOperand(1, NewRHSV);
return &I;
}
More information about the llvm-commits
mailing list