[llvm] [LAA] Rename var used to retry with RT-checks (NFC) (PR #147307)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 04:36:56 PDT 2025


================
@@ -591,7 +591,7 @@ void RuntimePointerChecking::groupChecks(
   //
   // The above case requires that we have an UnknownDependence between
   // accesses to the same underlying object. This cannot happen unless
-  // FoundNonConstantDistanceDependence is set, and therefore UseDependencies
+  // ShouldRetryWithRuntimeChecks is set, and therefore UseDependencies
----------------
fhahn wrote:

I'm not sure about this one, with the more generic name it is not entirely clear why the above cannot happen unless `ShouldRetryWithRuntimeChecks`?

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


More information about the llvm-commits mailing list