| ... | @@ -5563,7 +5563,8 @@ pub const FuncGen = struct { | ... | @@ -5563,7 +5563,8 @@ pub const FuncGen = struct { |
| 5563 | if (bitcast_ok) { | 5563 | if (bitcast_ok) { |
| 5564 | const llvm_vector_ty = try self.dg.llvmType(operand_ty); | 5564 | const llvm_vector_ty = try self.dg.llvmType(operand_ty); |
| 5565 | const casted_ptr = self.builder.buildBitCast(array_ptr, llvm_vector_ty.pointerType(0), ""); | 5565 | const casted_ptr = self.builder.buildBitCast(array_ptr, llvm_vector_ty.pointerType(0), ""); |
| 5566 | _ = self.builder.buildStore(operand, casted_ptr); | 5566 | const llvm_store = self.builder.buildStore(operand, casted_ptr); |
| | 5567 | llvm_store.setAlignment(inst_ty.abiAlignment(target)); |
| 5567 | } else { | 5568 | } else { |
| 5568 | // If the ABI size of the element type is not evenly divisible by size in bits; | 5569 | // If the ABI size of the element type is not evenly divisible by size in bits; |
| 5569 | // a simple bitcast will not work, and we fall back to extractelement. | 5570 | // a simple bitcast will not work, and we fall back to extractelement. |