[llvm] r356251 - [WebAssembly] Remove icmp undef in stackify test
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 04:13:26 PDT 2019
Author: rksimon
Date: Fri Mar 15 04:13:26 2019
New Revision: 356251
URL: http://llvm.org/viewvc/llvm-project?rev=356251&view=rev
Log:
[WebAssembly] Remove icmp undef in stackify test
Pre-commit for D59363 (Add icmp UNDEF handling to SelectionDAG::FoldSetCC)
Approved by @tlively (Thomas Lively)
Modified:
llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll
Modified: llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll?rev=356251&r1=356250&r2=356251&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/cfg-stackify.ll Fri Mar 15 04:13:26 2019
@@ -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:
More information about the llvm-commits
mailing list