[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:30:34 PDT 2024


================
@@ -2593,15 +2597,8 @@ 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.
-    if (UniformStores.count(Ptr)) {
-      LLVM_DEBUG(dbgs() << "LAA: Found an unsafe dependency between a uniform "
-                           "load and uniform store to the same address!\n");
-      HasLoadStoreDependenceInvolvingLoopInvariantAddress = true;
-    }
-
     MemoryLocation Loc = MemoryLocation::get(LD);
+
----------------
fhahn wrote:

unrelated change?

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


More information about the llvm-commits mailing list