[llvm] [LAA] Support different strides & non constant dep distances using SCEV. (PR #88039)
    Nikita Popov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr  8 18:52:57 PDT 2024
    
    
  
================
@@ -1923,8 +1923,9 @@ isLoopVariantIndirectAddress(ArrayRef<const Value *> UnderlyingObjects,
 // of various temporary variables, like A/BPtr, StrideA/BPtr and others.
 // Returns either the dependence result, if it could already be determined, or a
 // tuple with (Distance, Stride, TypeSize, AIsWrite, BIsWrite).
-static std::variant<MemoryDepChecker::Dependence::DepType,
-                    std::tuple<const SCEV *, uint64_t, uint64_t, bool, bool>>
+static std::variant<
+    MemoryDepChecker::Dependence::DepType,
+    std::tuple<const SCEV *, uint64_t, uint64_t, uint64_t, bool, bool>>
----------------
nikic wrote:
Comment above needs updating -- though I feel like at this point this tuple really wants to be a struct.
https://github.com/llvm/llvm-project/pull/88039
    
    
More information about the llvm-commits
mailing list