[PATCH] D144676: [X86][FixupBWInsts] Fix propagation of !pcsections metadata

Marco Elver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 14:42:52 PST 2023


melver created this revision.
melver added reviewers: dvyukov, vitalybuka.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
melver requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Use MIMetadata() to propagate both DebugLoc and !pcsections metadata.

This fixes several of the non-native sized !pcsections tests in
pcsections-atomics.ll.

Depends on D144675 <https://reviews.llvm.org/D144675>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144676

Files:
  llvm/lib/Target/X86/X86FixupBWInsts.cpp
  llvm/test/CodeGen/X86/pcsections-atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144676.499983.patch
Type: text/x-patch
Size: 166356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230223/db69ebf0/attachment.bin>


More information about the llvm-commits mailing list