1
Fork 0

Emit !nonnull metadata for loads of region and unique pointers

These pointers are never null, let's tell LLVM about it.
This commit is contained in:
Björn Steinbrink 2015-02-02 19:03:23 +01:00
parent 7858cb432d
commit 1a56a1a515
4 changed files with 37 additions and 1 deletions

View file

@ -377,7 +377,13 @@ pub enum MetadataType {
MD_prof = 2,
MD_fpmath = 3,
MD_range = 4,
MD_tbaa_struct = 5
MD_tbaa_struct = 5,
MD_invariant_load = 6,
MD_alias_scope = 7,
MD_noalias = 8,
MD_nontemporal = 9,
MD_mem_parallel_loop_access = 10,
MD_nonnull = 11,
}
// Inline Asm Dialect