diff options
| author | bors <bors@rust-lang.org> | 2022-03-04 08:14:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-04 08:14:31 +0000 |
| commit | 62ff2bcf9485f52050093d1780f409d50953549b (patch) | |
| tree | ecdddf9a7d3659d94103c09cef92d27f01603920 /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 65f6d33b775eddfc0128c04083bbf3beea360114 (diff) | |
| parent | a381aefebb69c7fa518a20f3db6639f29096cc96 (diff) | |
| download | rust-62ff2bcf9485f52050093d1780f409d50953549b.tar.gz rust-62ff2bcf9485f52050093d1780f409d50953549b.zip | |
Auto merge of #94159 - erikdesjardins:align-load, r=nikic
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. r? `@ghost` (blocked on #94158)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 6e9e0332faf..0e1c2872ad0 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -441,6 +441,7 @@ pub enum MetadataType { MD_nontemporal = 9, MD_mem_parallel_loop_access = 10, MD_nonnull = 11, + MD_align = 17, MD_type = 19, MD_noundef = 29, } |
