summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/select.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-06 21:26:50 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-06 21:26:50 +0000
commit8d456e4200859f9fec96f11e95b97fa3309666ab (patch)
tree679b24bec690c7135e027ff988f9567e142a085b /llvm/test/CodeGen/WebAssembly/select.ll
parent7204cff0a121ebc770cf81f7f94679ae7324daae (diff)
downloadbcm5719-llvm-8d456e4200859f9fec96f11e95b97fa3309666ab.tar.gz
bcm5719-llvm-8d456e4200859f9fec96f11e95b97fa3309666ab.zip
[WebAssembly] Add more explicit pushes to the tests.
llvm-svn: 252344
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/select.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/select.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/select.ll b/llvm/test/CodeGen/WebAssembly/select.ll
index 42dc3848946..3661b9ba07e 100644
--- a/llvm/test/CodeGen/WebAssembly/select.ll
+++ b/llvm/test/CodeGen/WebAssembly/select.ll
@@ -7,9 +7,9 @@ target datalayout = "e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32-unknown-unknown"
; CHECK-LABEL: select_i32:
-; CHECK: get_local 1
+; CHECK: get_local push, 1
; CHECK: set_local [[LOCAL_B:[0-9]]]
-; CHECK: get_local 0
+; CHECK: get_local push, 0
; CHECK: set_local [[LOCAL_A:[0-9]]]
; CHECK: i32.eq push, (get_local 5), (get_local 6)
; CHECK: set_local 7, pop
@@ -21,9 +21,9 @@ define i32 @select_i32(i32 %a, i32 %b, i32 %cond) {
}
; CHECK-LABEL: select_i64:
-; CHECK: get_local 1
+; CHECK: get_local push, 1
; CHECK: set_local [[LOCAL_B:[0-9]]]
-; CHECK: get_local 0
+; CHECK: get_local push, 0
; CHECK: set_local [[LOCAL_A:[0-9]]]
; CHECK: i32.eq push, (get_local 5), (get_local 6)
; CHECK: set_local 7, pop
@@ -35,9 +35,9 @@ define i64 @select_i64(i64 %a, i64 %b, i32 %cond) {
}
; CHECK-LABEL: select_f32:
-; CHECK: get_local 1
+; CHECK: get_local push, 1
; CHECK: set_local [[LOCAL_B:[0-9]]]
-; CHECK: get_local 0
+; CHECK: get_local push, 0
; CHECK: set_local [[LOCAL_A:[0-9]]]
; CHECK: i32.eq push, (get_local 5), (get_local 6)
; CHECK: set_local 7, pop
@@ -49,9 +49,9 @@ define float @select_f32(float %a, float %b, i32 %cond) {
}
; CHECK-LABEL: select_f64:
-; CHECK: get_local 1
+; CHECK: get_local push, 1
; CHECK: set_local [[LOCAL_B:[0-9]]]
-; CHECK: get_local 0
+; CHECK: get_local push, 0
; CHECK: set_local [[LOCAL_A:[0-9]]]
; CHECK: i32.eq push, (get_local 5), (get_local 6)
; CHECK: set_local 7, pop
OpenPOWER on IntegriCloud