[llvm] [LAA] Add initial support for non-power-of-2 store-load forwarding distance (PR #137873)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 05:08:53 PDT 2025


================
@@ -1731,24 +1732,61 @@ bool MemoryDepChecker::couldPreventStoreLoadForward(uint64_t Distance,
       break;
     }
   }
+  // RISCV VLA supports non-power-2 vector factor. So, we iterate in a
----------------
fhahn wrote:

This shouldn't mention RISCV, it is allowed if target has active vector length. Would be good to frame it as such

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


More information about the llvm-commits mailing list