diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-04-10 23:20:39 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-04-11 00:10:10 -0700 |
| commit | d0ae76848ae4c52ed1e7cacf28d243700eed495d (patch) | |
| tree | 2b76d578e071903ea67b45d7db40610ad82404a2 /compiler/rustc_codegen_llvm/src | |
| parent | 359609882369fa3027f1a4706b821fef695fa8a2 (diff) | |
| download | rust-d0ae76848ae4c52ed1e7cacf28d243700eed495d.tar.gz rust-d0ae76848ae4c52ed1e7cacf28d243700eed495d.zip | |
Add load/store helpers that take `PlaceValue`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/intrinsic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/intrinsic.rs b/compiler/rustc_codegen_llvm/src/intrinsic.rs index a661a7f489d..2bed7c1bd1c 100644 --- a/compiler/rustc_codegen_llvm/src/intrinsic.rs +++ b/compiler/rustc_codegen_llvm/src/intrinsic.rs @@ -264,7 +264,7 @@ impl<'ll, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'_, 'll, 'tcx> { llvm::LLVMSetAlignment(load, align); } if !result.layout.is_zst() { - self.store(load, result.val.llval, result.val.align); + self.store_to_place(load, result.val); } return Ok(()); } |
