[llvm] [LAA] Relax HasSameSize check on couldPrevertStoreLoadForward (PR #159537)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 01:41:22 PDT 2026


================
@@ -2211,8 +2211,12 @@ MemoryDepChecker::getDependenceDistanceStrideAndSize(
     return Dependence::Unknown;
   }
 
+  // TODO: Remove this.
+  bool HasSameSize = AStoreSz == BStoreSz;
----------------
artagnon wrote:

Unfortunately, this is not a name I picked; it is already used: I could change it in https://github.com/llvm/llvm-project/pull/161238, as part of the NFC?

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


More information about the llvm-commits mailing list