[PATCH] Handling store to invariant address in LAA

Adam Nemet anemet at apple.com
Tue Apr 7 21:27:44 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Analysis/LoopAccessAnalysis.cpp:1037
@@ -1046,1 +1036,3 @@
+    // Check for store to loop invariant address.
+    StoreToLoopInvariantAddress = isUniform(Ptr);
     // If we did *not* see this pointer before, insert it to  the read-write
----------------
Ashutosh,

I think this should be |= rather than =.

http://reviews.llvm.org/D8653

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list