diff options
author | Heejin Ahn <aheejin@gmail.com> | 2022-04-09 13:27:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 13:27:37 +0900 |
commit | 5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6 (patch) | |
tree | 36670b7ea05adf9aa1989fac978090b234571da0 /src/wasm/wasm-binary.cpp | |
parent | 094deb0b1d1def452cb784191004a5e2001c6a99 (diff) | |
download | binaryen-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-binary.cpp')
-rw-r--r-- | src/wasm/wasm-binary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 097ce2ae1..026e277fb 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -5575,11 +5575,11 @@ bool WasmBinaryBuilder::maybeVisitSIMDBinary(Expression*& out, uint32_t code) { break; case BinaryConsts::I8x16Swizzle: curr = allocator.alloc<Binary>(); - curr->op = SwizzleVec8x16; + curr->op = SwizzleVecI8x16; break; case BinaryConsts::I8x16RelaxedSwizzle: curr = allocator.alloc<Binary>(); - curr->op = RelaxedSwizzleVec8x16; + curr->op = RelaxedSwizzleVecI8x16; break; case BinaryConsts::F32x4RelaxedMin: curr = allocator.alloc<Binary>(); |