[llvm] [LoopAccessAnalysis] Keep pointer checks on partial analysis (PR #139719)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 06:54:49 PDT 2025


================
@@ -1313,7 +1316,7 @@ bool AccessAnalysis::canCheckPtrAtRT(
     }
   }
 
-  if (MayNeedRTCheck && CanDoRT)
+  if (MayNeedRTCheck)
----------------
artagnon wrote:

Not sure I understand this change: why don't we just generate RT checks if we may need RT checks? Is it an unrelated bugfix?

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


More information about the llvm-commits mailing list