diff options
Diffstat (limited to 'llvm/lib/Target/WebAssembly')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td index e4dbda31f34..4acc6507588 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td @@ -71,7 +71,7 @@ multiclass ExtractPat<ValueType lane_t, int mask> { defm extract_i8x16 : ExtractPat<i8, 0xff>; defm extract_i16x8 : ExtractPat<i16, 0xffff>; multiclass ExtractLaneExtended<string sign, bits<32> baseInst> { - defm "" : ExtractLane<v16i8, "i8x16", LaneIdx16, I32, baseInst, sign, + defm "" : ExtractLane<v16i8, "i8x16", LaneIdx16, I32, baseInst, sign, !cast<PatFrag>("extract_i8x16"#sign)>; defm "" : ExtractLane<v8i16, "i16x8", LaneIdx8, I32, !add(baseInst, 2), sign, !cast<PatFrag>("extract_i16x8"#sign)>; |

