[polly] r295835 - [DeLICM] Fix wrong comment. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 06:14:41 PST 2017


Author: meinersbur
Date: Wed Feb 22 08:14:40 2017
New Revision: 295835

URL: http://llvm.org/viewvc/llvm-project?rev=295835&view=rev
Log:
[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.

Modified:
    polly/trunk/lib/Transform/DeLICM.cpp

Modified: polly/trunk/lib/Transform/DeLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/DeLICM.cpp?rev=295835&r1=295834&r2=295835&view=diff
==============================================================================
--- polly/trunk/lib/Transform/DeLICM.cpp (original)
+++ polly/trunk/lib/Transform/DeLICM.cpp Wed Feb 22 08:14:40 2017
@@ -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;
 




More information about the llvm-commits mailing list