Skip to content

Commit a355168

Browse files
committed
fix simd splat execution handlers
1 parent da9bade commit a355168

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ir2/build/display/decode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ impl Display for DisplayDecode<&'_ Isa> {
6262
impl Display for DisplayDecode<&'_ UnaryOp> {
6363
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
6464
let camel_ident = DisplayIdent::camel(self.value);
65-
let slot_ty = FieldTy::Slot;
66-
writeln!(f, "pub type {camel_ident} = UnaryOp<{slot_ty}>;")
65+
let value_ty = self.value.value_field().ty;
66+
writeln!(f, "pub type {camel_ident} = UnaryOp<{value_ty}>;")
6767
}
6868
}
6969

0 commit comments

Comments
 (0)