[llvm] [DA] do not handle array accesses of different offsets (PR #123436)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 04:28:39 PDT 2025


================
@@ -76,8 +76,12 @@ namespace llvm {
     Dependence &operator=(Dependence &&) = default;
 
   public:
-    Dependence(Instruction *Source, Instruction *Destination)
-        : Src(Source), Dst(Destination) {}
+    Dependence(Instruction *Source, Instruction *Destination,
+               ScalarEvolution *SE,
----------------
kasuga-fj wrote:

nit: Passing `SE` when calling `getRuntimeAssumptions` may be better.

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


More information about the llvm-commits mailing list