OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da9fa43
)
Oops! Left out a line.
author
Nick Lewycky
<nicholas@mxc.ca>
Thu, 18 Dec 2008 06:42:28 +0000
(06:42 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Thu, 18 Dec 2008 06:42:28 +0000
(06:42 +0000)
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
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index
8d54e0c
..
41ed449
100644
(file)
--- 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;
}