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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 01:43:58 PDT 2025


================
@@ -183,7 +183,8 @@ loop.end:
   TargetLibraryInfoImpl TLII(M->getTargetTriple());
   TargetLibraryInfo TLI(TLII);
 
-  auto IsDerefReadOnlyLoop = [&TLI](Function *F) -> bool {
+  auto IsLoadOnlyFaultingLoop =
----------------
lukel97 wrote:

Nit
```suggestion
  auto IsReadOnlyLoop =
```

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


More information about the llvm-commits mailing list