| ... | @@ -77309,11 +77309,27 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void { | ... | @@ -77309,11 +77309,27 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void { |
| 77309 | }, | 77309 | }, |
| 77310 | } | 77310 | } |
| 77311 | }, | 77311 | }, |
| 77312 | .int => res[0] = ops[0].cmpInts(cmp_op, &ops[1], cg) catch |err| break :err err, | 77312 | .int => { |
| | 77313 | switch (ty.zigTypeTag(zcu)) { |
| | 77314 | else => {}, |
| | 77315 | .@"struct", .@"union" => { |
| | 77316 | assert(ty.containerLayout(zcu) == .@"packed"); |
| | 77317 | for (&ops) |*op| op.wrapInt(cg) catch |err| switch (err) { |
| | 77318 | error.SelectFailed => return cg.fail("failed to select {s} wrap {} {}", .{ |
| | 77319 | @tagName(air_tag), |
| | 77320 | ty.fmt(pt), |
| | 77321 | op.tracking(cg), |
| | 77322 | }), |
| | 77323 | else => |e| return e, |
| | 77324 | }; |
| | 77325 | }, |
| | 77326 | } |
| | 77327 | res[0] = ops[0].cmpInts(cmp_op, &ops[1], cg) catch |err| break :err err; |
| | 77328 | }, |
| 77313 | }) catch |err| switch (err) { | 77329 | }) catch |err| switch (err) { |
| 77314 | error.SelectFailed => return cg.fail("failed to select {s} {} {} {}", .{ | 77330 | error.SelectFailed => return cg.fail("failed to select {s} {} {} {}", .{ |
| 77315 | @tagName(air_tag), | 77331 | @tagName(air_tag), |
| 77316 | cg.typeOf(bin_op.lhs).fmt(pt), | 77332 | ty.fmt(pt), |
| 77317 | ops[0].tracking(cg), | 77333 | ops[0].tracking(cg), |
| 77318 | ops[1].tracking(cg), | 77334 | ops[1].tracking(cg), |
| 77319 | }), | 77335 | }), |