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/passes/Print.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/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index edb95aba1..240db975b 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -1832,7 +1832,7 @@ struct PrintExpressionContents o << "i16x8.narrow_i32x4_u"; break; - case SwizzleVec8x16: + case SwizzleVecI8x16: o << "i8x16.swizzle"; break; @@ -1848,7 +1848,7 @@ struct PrintExpressionContents case RelaxedMaxVecF64x2: o << "f64x2.relaxed_max"; break; - case RelaxedSwizzleVec8x16: + case RelaxedSwizzleVecI8x16: o << "i8x16.relaxed_swizzle"; break; case RelaxedQ15MulrSVecI16x8: |