summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-02-22 14:14:40 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-02-22 14:14:40 +0000
commit8474470500137994080bd79cdb4111f7cbc6674d (patch)
tree16e1a829173e18e26267498f323b83a0fc84391c
parent4f3b96726b5b0571172f85cdf6ea420f9bc88282 (diff)
downloadbcm5719-llvm-8474470500137994080bd79cdb4111f7cbc6674d.tar.gz
bcm5719-llvm-8474470500137994080bd79cdb4111f7cbc6674d.zip
[DeLICM] Fix wrong comment. NFC.
Correct a comment that claimed that a store after load was detected when the code checks a load after a store. llvm-svn: 295835
-rw-r--r--polly/lib/Transform/DeLICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Transform/DeLICM.cpp b/polly/lib/Transform/DeLICM.cpp
index 38430951fee..3b064e2892d 100644
--- a/polly/lib/Transform/DeLICM.cpp
+++ b/polly/lib/Transform/DeLICM.cpp
@@ -723,7 +723,7 @@ private:
give(isl_union_map_from_map(getAccessRelationFor(MA).take()));
if (MA->isRead()) {
- // Reject store after load to same location.
+ // Reject load after store to same location.
if (!isl_union_map_is_disjoint(Stores.keep(), AccRel.keep()))
return false;
OpenPOWER on IntegriCloud