summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2016-05-16 18:59:34 +0000
committerDan Gohman <dan433584@gmail.com>2016-05-16 18:59:34 +0000
commit804749c942fa15d6f0f0e6fde2ad7407e8bedb8b (patch)
tree1613d19feb4e2bfba44ed00c37b021a6ebbd66bb /llvm/test/CodeGen
parentbf05a4589e28521d7a43bd4068aaf426979987cc (diff)
downloadbcm5719-llvm-804749c942fa15d6f0f0e6fde2ad7407e8bedb8b.tar.gz
bcm5719-llvm-804749c942fa15d6f0f0e6fde2ad7407e8bedb8b.zip
[WebAssembly] Use eqz to negate a branch conditions.
llvm-svn: 269681
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/WebAssembly/cfg-stackify.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
index b29cd8860a2..ff945706778 100644
--- a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
+++ b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
@@ -1261,8 +1261,7 @@ bb50:
; OPT: block
; OPT: block
; OPT-NEXT: i32.const $push
-; OPT-NEXT: i32.const $push
-; OPT-NEXT: i32.eq $push{{.*}}=, $pop{{.*}}, $pop{{.*}}{{$}}
+; OPT-NEXT: i32.eqz $push{{.*}}=, $pop{{.*}}{{$}}
; OPT-NEXT: br_if 0, $pop{{.*}}{{$}}
; OPT-NEXT: call test15_callee1@FUNCTION{{$}}
; OPT-NEXT: br 1{{$}}
OpenPOWER on IntegriCloud