[llvm] [llvm] Remove `br i1 undef` from regression tests (PR #116161)
Nuno Lopes via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 02:05:49 PST 2024
================
@@ -50,13 +53,13 @@ entry:
br label %while.cond
while.cond:
- br i1 undef, label %while.end, label %while.body
+ br i1 %arg, label %while.end, label %while.body
while.body: ; preds = %while.cond
- br i1 undef, label %if.then165, label %while.cond
+ br i1 %arg, label %if.then165, label %while.cond
if.then165: ; preds = %while.body
- br i1 undef, label %while.cond, label %for.body.lr.ph.i81
+ br i1 %arg, label %while.cond, label %for.body.lr.ph.i81
----------------
nunoplopes wrote:
the icmp undef below makes the br UB
https://github.com/llvm/llvm-project/pull/116161
More information about the llvm-commits
mailing list