| ... | @@ -5604,8 +5604,9 @@ pub const FuncGen = struct { | ... | @@ -5604,8 +5604,9 @@ pub const FuncGen = struct { |
| 5604 | const rhs = try self.resolveInst(extra.rhs); | 5604 | const rhs = try self.resolveInst(extra.rhs); |
| 5605 | | 5605 | |
| 5606 | const lhs_ty = self.air.typeOf(extra.lhs); | 5606 | const lhs_ty = self.air.typeOf(extra.lhs); |
| | 5607 | const scalar_ty = lhs_ty.scalarType(); |
| 5607 | | 5608 | |
| 5608 | const intrinsic_name = if (lhs_ty.isSignedInt()) signed_intrinsic else unsigned_intrinsic; | 5609 | const intrinsic_name = if (scalar_ty.isSignedInt()) signed_intrinsic else unsigned_intrinsic; |
| 5609 | | 5610 | |
| 5610 | const llvm_lhs_ty = try self.dg.llvmType(lhs_ty); | 5611 | const llvm_lhs_ty = try self.dg.llvmType(lhs_ty); |
| 5611 | | 5612 | |