[PATCH] D87001: [IRMover] Avoid materializing global value that belongs to not-yet-linked module

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 16:52:26 PDT 2020


ychen updated this revision to Diff 292377.
ychen added a comment.

- update test to demonstrate the bug
- actually the bug could be fixed by reverting D47898 <https://reviews.llvm.org/D47898>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87001/new/

https://reviews.llvm.org/D87001

Files:
  llvm/lib/Linker/IRMover.cpp
  llvm/test/LTO/X86/Inputs/type-mapping-bug4_0.ll
  llvm/test/LTO/X86/Inputs/type-mapping-bug4_1.ll
  llvm/test/LTO/X86/type-mapping-bug4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87001.292377.patch
Type: text/x-patch
Size: 6531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/10577054/attachment.bin>


More information about the llvm-commits mailing list