projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
CorrelatedValuePropagation.cpp
diff --git
a/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
b/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
index 082946229b35a954ef815f19101e1806747d8abc..075c0351534dc1d196c0a59dc61075a661d8bd7a 100644
(file)
--- a/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@
-126,6
+126,7
@@
bool CorrelatedValuePropagation::processPHI(PHINode *P) {
Changed = true;
}
+ // FIXME: Provide DL, TLI, DT, AT to SimplifyInstruction.
if (Value *V = SimplifyInstruction(P)) {
P->replaceAllUsesWith(V);
P->eraseFromParent();