diff options
author | Thomas Lively <tlively@google.com> | 2018-08-28 18:33:31 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2018-08-28 18:33:31 +0000 |
commit | ec71e018d65c0622861efb6c3e7789910afaa3c2 (patch) | |
tree | 76413afa0c0c60bf8f03390ceb760d853dc8c25f | |
parent | 995ad61f231aa35e9c57db9af43ca56c41d351d0 (diff) | |
download | bcm5719-llvm-ec71e018d65c0622861efb6c3e7789910afaa3c2.tar.gz bcm5719-llvm-ec71e018d65c0622861efb6c3e7789910afaa3c2.zip |
[WebAssembly][NFC] Fix up SIMD bitwise tests
Summary:
The updated tests were previously infallible because the SIMD bitwise
operations do not contain vector types in their names.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D51369
llvm-svn: 340858
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/simd-arith.ll | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/simd-arith.ll b/llvm/test/CodeGen/WebAssembly/simd-arith.ll index 3f2e4de3ed0..33fd76a576f 100644 --- a/llvm/test/CodeGen/WebAssembly/simd-arith.ll +++ b/llvm/test/CodeGen/WebAssembly/simd-arith.ll @@ -47,7 +47,7 @@ define <16 x i8> @mul_v16i8(<16 x i8> %x, <16 x i8> %y) { } ; CHECK-LABEL: and_v16i8 -; NO-SIMD128-NOT: i8x16 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.and $push0=, $0, $1 # encoding: [0xfd,0x3b]{{$}} @@ -58,7 +58,7 @@ define <16 x i8> @and_v16i8(<16 x i8> %x, <16 x i8> %y) { } ; CHECK-LABEL: or_v16i8 -; NO-SIMD128-NOT: i8x16 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.or $push0=, $0, $1 # encoding: [0xfd,0x3c]{{$}} @@ -69,7 +69,7 @@ define <16 x i8> @or_v16i8(<16 x i8> %x, <16 x i8> %y) { } ; CHECK-LABEL: xor_v16i8 -; NO-SIMD128-NOT: i8x16 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.xor $push0=, $0, $1 # encoding: [0xfd,0x3d]{{$}} @@ -130,7 +130,7 @@ define <8 x i16> @mul_v8i16(<8 x i16> %x, <8 x i16> %y) { } ; CHECK-LABEL: and_v8i16 -; NO-SIMD128-NOT: i16x8 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.and $push0=, $0, $1 # encoding: [0xfd,0x3b]{{$}} @@ -141,7 +141,7 @@ define <8 x i16> @and_v8i16(<8 x i16> %x, <8 x i16> %y) { } ; CHECK-LABEL: or_v8i16 -; NO-SIMD128-NOT: i16x8 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.or $push0=, $0, $1 # encoding: [0xfd,0x3c]{{$}} @@ -152,7 +152,7 @@ define <8 x i16> @or_v8i16(<8 x i16> %x, <8 x i16> %y) { } ; CHECK-LABEL: xor_v8i16 -; NO-SIMD128-NOT: i16x8 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.xor $push0=, $0, $1 # encoding: [0xfd,0x3d]{{$}} @@ -211,7 +211,7 @@ define <4 x i32> @mul_v4i32(<4 x i32> %x, <4 x i32> %y) { } ; CHECK-LABEL: and_v4i32 -; NO-SIMD128-NOT: i32x4 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.and $push0=, $0, $1 # encoding: [0xfd,0x3b]{{$}} @@ -222,7 +222,7 @@ define <4 x i32> @and_v4i32(<4 x i32> %x, <4 x i32> %y) { } ; CHECK-LABEL: or_v4i32 -; NO-SIMD128-NOT: i32x4 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.or $push0=, $0, $1 # encoding: [0xfd,0x3c]{{$}} @@ -233,7 +233,7 @@ define <4 x i32> @or_v4i32(<4 x i32> %x, <4 x i32> %y) { } ; CHECK-LABEL: xor_v4i32 -; NO-SIMD128-NOT: i32x4 +; NO-SIMD128-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.xor $push0=, $0, $1 # encoding: [0xfd,0x3d]{{$}} @@ -294,7 +294,8 @@ define <2 x i64> @mul_v2i64(<2 x i64> %x, <2 x i64> %y) { } ; CHECK-LABEL: and_v2i64 -; NO-SIMD128-NOT: i64x2 +; NO-SIMD128-NOT: v128 +; SIMD128-VM-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.and $push0=, $0, $1 # encoding: [0xfd,0x3b]{{$}} @@ -305,7 +306,8 @@ define <2 x i64> @and_v2i64(<2 x i64> %x, <2 x i64> %y) { } ; CHECK-LABEL: or_v2i64 -; NO-SIMD128-NOT: i64x2 +; NO-SIMD128-NOT: v128 +; SIMD128-VM-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.or $push0=, $0, $1 # encoding: [0xfd,0x3c]{{$}} @@ -316,7 +318,8 @@ define <2 x i64> @or_v2i64(<2 x i64> %x, <2 x i64> %y) { } ; CHECK-LABEL: xor_v2i64 -; NO-SIMD128-NOT: i64x2 +; NO-SIMD128-NOT: v128 +; SIMD128-VM-NOT: v128 ; SIMD128: .param v128, v128{{$}} ; SIMD128: .result v128{{$}} ; SIMD128: v128.xor $push0=, $0, $1 # encoding: [0xfd,0x3d]{{$}} |