[PATCH] D145318: [IRLinker] Fix mapping of declaration metadata

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 12 18:22:21 PDT 2023


critson updated this revision to Diff 504490.
critson added a comment.

- Exclude global objects without metadata from unmapped set
- Add assertion to cover the case of intrinsics with metadata


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145318

Files:
  llvm/include/llvm/Transforms/Utils/ValueMapper.h
  llvm/lib/Linker/IRMover.cpp
  llvm/lib/Transforms/Utils/ValueMapper.cpp
  llvm/test/Linker/Inputs/metadata-function.ll
  llvm/test/Linker/metadata-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145318.504490.patch
Type: text/x-patch
Size: 4918 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/93e03d01/attachment.bin>


More information about the llvm-commits mailing list