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:
24d58f9
)
NewGVN: This is wrong by inspection, it will not cause an issue currently due to...
author
Daniel Berlin
<dberlin@dberlin.org>
Wed, 14 Jun 2017 21:19:28 +0000
(21:19 +0000)
committer
Daniel Berlin
<dberlin@dberlin.org>
Wed, 14 Jun 2017 21:19:28 +0000
(21:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305415
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/NewGVN.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/NewGVN.cpp
b/lib/Transforms/Scalar/NewGVN.cpp
index
8fe398d
..
cbbd555
100644
(file)
--- a/
lib/Transforms/Scalar/NewGVN.cpp
+++ b/
lib/Transforms/Scalar/NewGVN.cpp
@@
-2195,7
+2195,7
@@
void NewGVN::moveValueToNewCongruenceClass(Instruction *I, const Expression *E,
// For a given expression, mark the phi of ops instructions that could have
// changed as a result.
void NewGVN::markPhiOfOpsChanged(const Expression *E) {
- touchAndErase(ExpressionToPhiOfOps, E);
+ touchAndErase(ExpressionToPhiOfOps, E
xactEqualsExpression(*E)
);
}
// Perform congruence finding on a given value numbering expression.