summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2017-06-14 21:19:28 +0000
committerDaniel Berlin <dberlin@dberlin.org>2017-06-14 21:19:28 +0000
commit51e878e01d802791603cb759b0b3ebd1eb1321c8 (patch)
tree80f37daf7774a05d0dbb6f805dac567cf02a4a67
parent83cb0079406b166f017cf565352d0f399e3ddc11 (diff)
downloadbcm5719-llvm-51e878e01d802791603cb759b0b3ebd1eb1321c8.tar.gz
bcm5719-llvm-51e878e01d802791603cb759b0b3ebd1eb1321c8.zip
NewGVN: This is wrong by inspection, it will not cause an issue currently due to other limitations, i believe. This also means i can't make a test for it.
llvm-svn: 305415
-rw-r--r--llvm/lib/Transforms/Scalar/NewGVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp
index 8fe398d1e82..cbbd55512c9 100644
--- a/llvm/lib/Transforms/Scalar/NewGVN.cpp
+++ b/llvm/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, ExactEqualsExpression(*E));
}
// Perform congruence finding on a given value numbering expression.
OpenPOWER on IntegriCloud