From 5d5e4654d0fd6165f7ddad88a20ce17ffa4caad6 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Sat, 9 Apr 2022 13:27:37 +0900 Subject: [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. --- src/passes/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/passes/Print.cpp') 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: -- cgit v1.2.3