[llvm] [LAA] Keep pointer checks on partial analysis (PR #139719)
John Brawn via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 03:05:01 PDT 2025
================
@@ -3002,6 +3001,8 @@ void LoopAccessInfo::print(raw_ostream &OS, unsigned Depth) const {
// List the pair of accesses need run-time checks to prove independence.
PtrRtChecking->print(OS, Depth);
+ if (PtrRtChecking->Need && !CanVecMem)
----------------
john-brawn-arm wrote:
This doesn't work, as CheckingGroups is generated from Pointers in groupChecks, so there won't be any Pointer that doesn't have a corresponding CheckingGroup. I've gone instead with recording what the result of canCheckPtrAtRT was.
https://github.com/llvm/llvm-project/pull/139719
More information about the llvm-commits
mailing list