diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-10-06 22:08:28 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-10-06 22:08:28 +0000 |
commit | 7f1bdb2e02ca5e61703278d11809ffbcbea1fb29 (patch) | |
tree | 37e23d2d5da406e1942bd89188e9ad5e8d64215d /llvm/test/CodeGen/WebAssembly/load-store-i1.ll | |
parent | e51bede1d8379311d836635eb2a0de49de850b9e (diff) | |
download | bcm5719-llvm-7f1bdb2e02ca5e61703278d11809ffbcbea1fb29.tar.gz bcm5719-llvm-7f1bdb2e02ca5e61703278d11809ffbcbea1fb29.zip |
[WebAssembly] Remove the output operand from stores.
Per spec changes, store instructions in WebAssembly no longer have a return
value. Update the instruction descriptions.
Differential Revision: https://reviews.llvm.org/D25122
llvm-svn: 283501
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/load-store-i1.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/load-store-i1.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/load-store-i1.ll b/llvm/test/CodeGen/WebAssembly/load-store-i1.ll index 2a2318fde10..4921a739ea0 100644 --- a/llvm/test/CodeGen/WebAssembly/load-store-i1.ll +++ b/llvm/test/CodeGen/WebAssembly/load-store-i1.ll @@ -52,7 +52,7 @@ define i64 @load_s_i1_i64(i1* %p) { ; CHECK-LABEL: store_i32_i1: ; CHECK: i32.const $push[[NUM0:[0-9]+]]=, 1{{$}} ; CHECK-NEXT: i32.and $push[[NUM1:[0-9]+]]=, $1, $pop[[NUM0]]{{$}} -; CHECK-NEXT: i32.store8 $drop=, 0($0), $pop[[NUM1]]{{$}} +; CHECK-NEXT: i32.store8 0($0), $pop[[NUM1]]{{$}} define void @store_i32_i1(i1* %p, i32 %v) { %t = trunc i32 %v to i1 store i1 %t, i1* %p @@ -62,7 +62,7 @@ define void @store_i32_i1(i1* %p, i32 %v) { ; CHECK-LABEL: store_i64_i1: ; CHECK: i64.const $push[[NUM0:[0-9]+]]=, 1{{$}} ; CHECK-NEXT: i64.and $push[[NUM1:[0-9]+]]=, $1, $pop[[NUM0]]{{$}} -; CHECK-NEXT: i64.store8 $drop=, 0($0), $pop[[NUM1]]{{$}} +; CHECK-NEXT: i64.store8 0($0), $pop[[NUM1]]{{$}} define void @store_i64_i1(i1* %p, i64 %v) { %t = trunc i64 %v to i1 store i1 %t, i1* %p |