[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


================
@@ -120,7 +120,7 @@ define void @f(i32* %p1, i32* %p2, i64 %i) {
   EXPECT_TRUE(canReplacePointersInUseIfEqual(IcmpUse, P2, DL));
 }
 
-TEST(LoadsTest, IsDerefReadOnlyLoop) {
+TEST(LoadsTest, IsLoadOnlyFaultingLoop) {
----------------
lukel97 wrote:

```suggestion
TEST(LoadsTest, IsReadOnlyLoop) {
```

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


More information about the llvm-commits mailing list