diff options
author | Wenju He <wenju.he@intel.com> | 2025-08-12 17:18:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-12 17:18:42 +0800 |
commit | a6e870d0b6b8492781b97fd51ce0efffd822d55f (patch) | |
tree | 15e8a422e1c590a1771b23704c69c28a41b062b5 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | d64e6b5e27f78fcf8fe5be4dfa2dcca0ad9af571 (diff) | |
download | llvm-a6e870d0b6b8492781b97fd51ce0efffd822d55f.zip llvm-a6e870d0b6b8492781b97fd51ce0efffd822d55f.tar.gz llvm-a6e870d0b6b8492781b97fd51ce0efffd822d55f.tar.bz2 |
[IRLinker] Don't add duplicate named MD node operand to dest module (#146020)
Fix llvm.ident exploding when linking many bitcode files in libclc. This
should de-duplicate other named metadata as well, e.g.
opencl.spir.version and opencl.ocl.version.
This PR is a re-submit of https://reviews.llvm.org/D20582 (authored by
Matt Arsenault) with update that only checks MD node pointer for
duplication according to review comment in that PR.
---------
Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions