[llvm] [LV] Add initial legality checks for loops with unbound loads. (PR #152422)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 06:34:25 PDT 2025


================
@@ -870,3 +870,21 @@ bool llvm::isDereferenceableReadOnlyLoop(
   }
   return true;
 }
+
+bool llvm::isReadOnlyLoopWithSafeOrSpeculativeLoads(
----------------
david-arm wrote:

Perhaps just replace `isDereferenceableReadOnlyLoop` with this instead?

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


More information about the llvm-commits mailing list