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.
This commit is contained in:
Erik Desjardins 2022-02-15 23:45:09 -05:00
parent 4ce3749235
commit 69ae4233cf
3 changed files with 67 additions and 16 deletions

View file

@ -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,
}