From 918d0c2ba6e6b8b808fb3dcdfff520a6e4c22cae Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 15 Mar 2019 11:13:26 +0000 Subject: [PATCH] [WebAssembly] Remove icmp undef in stackify test Pre-commit for D59363 (Add icmp UNDEF handling to SelectionDAG::FoldSetCC) Approved by @tlively (Thomas Lively) llvm-svn: 356251 --- llvm/test/CodeGen/WebAssembly/cfg-stackify.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll index 77f4b68fc31d..5d112d3ccdce 100644 --- a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll +++ b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll @@ -352,7 +352,7 @@ exit: ; CHECK-NEXT: .LBB{{[0-9]+}}_{{[0-9]+}}: ; CHECK-NEXT: loop declare void @bar() -define void @test3(i32 %w) { +define void @test3(i32 %w, i32 %x) { entry: br i1 undef, label %outer.ph, label %exit @@ -360,14 +360,14 @@ outer.ph: br label %outer outer: - %tobool = icmp eq i32 undef, 0 + %tobool = icmp eq i32 %x, 0 br i1 %tobool, label %inner, label %unreachable unreachable: unreachable inner: - %c = icmp eq i32 undef, %w + %c = icmp eq i32 %x, %w br i1 %c, label %if.end, label %inner exit: