[clang] [llvm] [IndVarSimplify] Sink unused l-invariant loads in preheader. (PR #157559)
Sirish Pande via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 13:00:20 PDT 2025
================
@@ -30,3 +30,64 @@ loop:
exit:
ret i32 %add
}
+
----------------
srpande wrote:
Please add at least one (two is better) test with noalias & alias_info metadata for loads and stores; and show whether load will sink or not depending on metadata.
I would also write these tests on a separate .ll file.
https://github.com/llvm/llvm-project/pull/157559
More information about the llvm-commits
mailing list