search for: not_annotated_array

Displaying 1 result from an estimated 1 matches for "not_annotated_array".

2019 Jul 25
2
Typeless pointers and intrinsics
...ok a look earlier and didn't notice any target-independent ones that would need a separate type parameter Do you know what would happen with the llvm.ptr.annotation intrinsic? Frontends use that to annotate members of structs: struct S { [[some_annotation]] int annotated_array[10]; int not_annotated_array[100; }; However, there is a big difference between annotating a pointer of type S*, a pointer of type [10 x i32]*, and a pointer of type i8*. The intrinsic is overloaded for "any pointer" type to allow distinguishing between those three cases. Do you think we can represent this in a di...