[llvm] [llvm] Remove `br i1 undef` from regression tests (PR #117292)

Nuno Lopes via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 09:03:00 PST 2024


================
@@ -46,13 +45,13 @@ for.cond.loopexit:
 for.cond:
   %g.1 = phi ptr [ %g.0, %l1 ], [ %g.4, %for.cond.loopexit ]
   %f.1 = phi ptr [ %f.0, %l1 ], [ %f.2, %for.cond.loopexit ]
-  br i1 undef, label %for.end14, label %for.cond1.preheader
+  br i1 %arg, label %for.end14, label %for.cond1.preheader
 for.cond1.preheader:
   br label %for.body3
 for.cond1:
   br label %l2
 for.body3:
-  br i1 undef, label %for.cond1, label %l1.loopexit
+  br i1 %arg, label %for.cond1, label %l1.loopexit
----------------
nunoplopes wrote:

use %arg2 here

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


More information about the llvm-commits mailing list