[PATCH] D26880: [ThinLTO] Fix crash: transitively referenced global shouldn't be promoted

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 19 10:42:10 PST 2016


mehdi_amini added a comment.

Whatever solution we adopt, it seems that logic should be in the *import* directly, so this code should go away and the importing could then be taught to walk refs (we don't right now I believe) and import constant.


https://reviews.llvm.org/D26880





More information about the llvm-commits mailing list