[llvm] LAA: refactor analyzeLoop to return bool (NFC) (PR #93824)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 03:39:45 PDT 2024


================
@@ -2593,15 +2587,15 @@ void LoopAccessInfo::analyzeLoop(AAResults *AA, LoopInfo *LI,
       IsReadOnlyPtr = true;
     }
 
-    // See if there is an unsafe dependency between a load to a uniform address and
-    // store to the same uniform address.
+    // See if there is an unsafe dependency between a load to a uniform address
+    // and store to the same uniform address.
+    MemoryLocation Loc = MemoryLocation::get(LD);
----------------
fhahn wrote:

sink to original position? Comment needs re-formatting due to being too long?

https://github.com/llvm/llvm-project/pull/93824


More information about the llvm-commits mailing list