| ... | @@ -5692,7 +5692,7 @@ fn airReduce(self: *Self, inst: Air.Inst.Index) !void { | ... | @@ -5692,7 +5692,7 @@ fn airReduce(self: *Self, inst: Air.Inst.Index) !void { |
| 5692 | | 5692 | |
| 5693 | fn airAggregateInit(self: *Self, inst: Air.Inst.Index) !void { | 5693 | fn airAggregateInit(self: *Self, inst: Air.Inst.Index) !void { |
| 5694 | const result_ty = self.air.typeOfIndex(inst); | 5694 | const result_ty = self.air.typeOfIndex(inst); |
| 5695 | const len = result_ty.arrayLen(); | 5695 | const len = @intCast(usize, result_ty.arrayLen()); |
| 5696 | const ty_pl = self.air.instructions.items(.data)[inst].ty_pl; | 5696 | const ty_pl = self.air.instructions.items(.data)[inst].ty_pl; |
| 5697 | const elements = @bitCast([]const Air.Inst.Ref, self.air.extra[ty_pl.payload..][0..len]); | 5697 | const elements = @bitCast([]const Air.Inst.Ref, self.air.extra[ty_pl.payload..][0..len]); |
| 5698 | const abi_size = @intCast(u32, result_ty.abiSize(self.target.*)); | 5698 | const abi_size = @intCast(u32, result_ty.abiSize(self.target.*)); |