[llvm] [DA] Ensure nsw flag is checked for StrongSIV addrecs (PR #178047)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 14:19:13 PST 2026
================
@@ -293,10 +295,13 @@ cleanup:
; CHECK-LABEL: sub_aft_less
+; CHECK: %i = phi
+; CHECK-NOT: phi
; CHECK: %j = phi
-; CHECK: %j.1 = phi
-; CHECK: %j.2 = phi
-; CHECK: %j.3 = phi
+; CHECK-NOT: phi
+; CHECK: %sum = phi
+; CHECK-NOT: phi
+; CHECK: add.lcssa = phi
----------------
kasuga-fj wrote:
For consistency, please refer to the other files in the same directory and rewrite in the same way.
(Although I don’t think either approach is particularly good.)
https://github.com/llvm/llvm-project/pull/178047
More information about the llvm-commits
mailing list