[PATCH] D26212: IRMover: Avoid accidentally mapping types from the destination module (PR30799)

Bob Haarman via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 14:29:29 PDT 2016


inglorion added inline comments.


================
Comment at: test/LTO/X86/type-mapping-bug.ll:23
+; getting a mapping from %DstType, which has previously used as
+; a destination type.
+%Tricky = type opaque
----------------
This explains what happens without the above change to IRMover.cpp, but it doesn't explain what happens after you make that change and why that behavior is correct. Could you add that information here? Other than that, looks good - thanks for fixing this!


https://reviews.llvm.org/D26212





More information about the llvm-commits mailing list