search for: d40567

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

Did you mean: 140567
2017 Dec 07
3
May IR types be merged by llvm-link?
Hi all, There is some uncertainty in the concept of LLVM IR, which results in unexpected IR in some cases. The problem description is here: https://reviews.llvm.org/D40567#943747. In short, llvm-link tries to merge an opaque type with its definition, using type name for that. Clang uses the same name for all specializations of a class template, so in this case llvm-link chooses arbitrary type as a definition. As a result the opaque type is mapped to wrong type in IR....