[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:02:05 PST 2024


================
@@ -82,7 +78,7 @@ for.body3:                                        ; preds = %for.body
   br label %cleanup14
 
 for.cond4:                                        ; preds = %cleanup, %for.body.for.cond4_crit_edge
-  br i1 undef, label %if.then, label %if.end
+  br i1 %arg, label %if.then, label %if.end
----------------
nunoplopes wrote:

use %arg2 here to avoid making some BBs unreachable

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


More information about the llvm-commits mailing list