summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2022-04-09 13:27:37 +0900
committerGitHub <noreply@github.com>2022-04-09 13:27:37 +0900
commit5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6 (patch)
tree36670b7ea05adf9aa1989fac978090b234571da0 /src/wasm/wasm-validator.cpp
parent094deb0b1d1def452cb784191004a5e2001c6a99 (diff)
downloadbinaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.tar.gz
binaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.tar.bz2
binaryen-5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6.zip
[SIMD] Make swizzle's opcode name consistent (NFC) (#4585)
Other opcode ends with `Inxm` or `Fnxm` (where n and m are integers), while `i8x16.swizzle`'s opcode name doesn't have an `I` in there.
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp
index 1494fa400..dd896e139 100644
--- a/src/wasm/wasm-validator.cpp
+++ b/src/wasm/wasm-validator.cpp
@@ -1633,8 +1633,8 @@ void FunctionValidator::visitBinary(Binary* curr) {
case NarrowUVecI16x8ToVecI8x16:
case NarrowSVecI32x4ToVecI16x8:
case NarrowUVecI32x4ToVecI16x8:
- case SwizzleVec8x16:
- case RelaxedSwizzleVec8x16:
+ case SwizzleVecI8x16:
+ case RelaxedSwizzleVecI8x16:
case RelaxedQ15MulrSVecI16x8: {
shouldBeEqualOrFirstIsUnreachable(
curr->left->type, Type(Type::v128), curr, "v128 op");