search for: p0s_s

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

Did you mean: has_s
2020 Nov 10
1
llvm-ir: anonymous struct name mangling
...(See [0, 3]). The problem is the following: Given: %0 = type { i32 } %1 = type { i32 } Creating an intrinsic @llvm.FOO that accepts 'a pointer to %0' cannot be distinguished from the intrinsic accepting 'a pointer to %1': ;For a %0* ptr0, %1* ptr1 call @llvm.FOO.p0s_s %0* %ptr0 call @llvm.FOO.p0s_s %1* %ptr1 ; assertion failure: same name produced, but %ptr1 is not compatible with '%0*' It seems that the name mangling is not coping well with anonymous structs ? See: [1,2]: All anonymous structs get a 's_s' mangling. Still, %0 and %1 are trea...