]> git.lizzy.rs Git - rust.git/commit
Add !align metadata on loads of &/&mut/Box
authorErik Desjardins <erikdesjardins@users.noreply.github.com>
Wed, 16 Feb 2022 04:45:09 +0000 (23:45 -0500)
committerErik Desjardins <erikdesjardins@users.noreply.github.com>
Tue, 1 Mar 2022 01:04:36 +0000 (20:04 -0500)
commit69ae4233cfdffd4269e07203406ff0ccb2671896
tree41134543a83541232b631f249632dffa0c3b3cec
parent4ce3749235fc31d15ebd444b038a9877e8c700d7
Add !align metadata on loads of &/&mut/Box

Note that this refers to the alignment of what the loaded value points
to, _not_ the alignment of the loaded value itself.
compiler/rustc_codegen_llvm/src/builder.rs
compiler/rustc_codegen_llvm/src/llvm/ffi.rs
src/test/codegen/loads.rs