[llvm] [LoopVectorize] Add support for reverse loops in isDereferenceableAndAlignedInLoop (PR #96752)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 02:05:36 PST 2025


================
@@ -839,6 +839,12 @@ bool sortPtrAccesses(ArrayRef<Value *> VL, Type *ElemTy, const DataLayout &DL,
 bool isConsecutiveAccess(Value *A, Value *B, const DataLayout &DL,
                          ScalarEvolution &SE, bool CheckType = true);
 
+std::pair<const SCEV *, const SCEV *> getStartAndEndForAccess(
----------------
david-arm wrote:

Done!

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


More information about the llvm-commits mailing list