[llvm] [CodeGenPrepare] Make sure that `AddOffset` is also a loop invariant (PR #150625)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 25 07:32:46 PDT 2025
================
@@ -1065,3 +1065,21 @@ for.body:
%exitcond.not = icmp eq i32 %inc, %N
br i1 %exitcond.not, label %for.cond.cleanup, label %for.body
}
+
+define i64 @pr150611_add_offset_is_not_loop_invariant(i1 %cond) {
+entry:
----------------
dtcxzyw wrote:
Sorry...
https://github.com/llvm/llvm-project/pull/150625
More information about the llvm-commits
mailing list