Skip to content

Commit 07a7bdc

Browse files
authored
[WebAssembly] Fix lane index size for f16x8 extract_lane. (#108118)
1 parent a29afb7 commit 07a7bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ defm EXTRACT_LANE_F16x8 :
684684
HALF_PRECISION_I<(outs F32:$dst), (ins V128:$vec, vec_i8imm_op:$idx),
685685
(outs), (ins vec_i8imm_op:$idx),
686686
[(set (f32 F32:$dst), (int_wasm_extract_lane_f16x8
687-
(v8f16 V128:$vec), (i32 LaneIdx16:$idx)))],
687+
(v8f16 V128:$vec), (i32 LaneIdx8:$idx)))],
688688
"f16x8.extract_lane\t$dst, $vec, $idx",
689689
"f16x8.extract_lane\t$idx", 0x121>;
690690

0 commit comments

Comments
 (0)