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

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 14:33:44 PDT 2016


pcc added inline comments.


================
Comment at: test/LTO/X86/type-mapping-bug.ll:3
+; RUN: llvm-as -o %t.src.bc %S/Inputs/type-mapping-src.ll
+; RUN: llvm-lto %t.dst.bc %t.src.bc -o=/dev/null
+
----------------
Would it be possible to write this test with `llvm-link` instead of `llvm-lto`?


https://reviews.llvm.org/D26212





More information about the llvm-commits mailing list