diff options
author | Marco Elver <elver@google.com> | 2023-07-12 15:08:43 +0200 |
---|---|---|
committer | Marco Elver <elver@google.com> | 2023-07-12 15:09:31 +0200 |
commit | de79233b2e14a79d6526f4e74f35f88c8fa97296 (patch) | |
tree | f4c14b400612016f5c520957663a5a83c75ade08 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | fa58aa8e91146f30878f20174b74912b4e115256 (diff) | |
download | llvm-de79233b2e14a79d6526f4e74f35f88c8fa97296.zip llvm-de79233b2e14a79d6526f4e74f35f88c8fa97296.tar.gz llvm-de79233b2e14a79d6526f4e74f35f88c8fa97296.tar.bz2 |
[X86] Complete preservation of !pcsections in X86ISelLowering
https://reviews.llvm.org/D130883 introduced MIMetadata to simplify
metadata propagation (DebugLoc and PCSections).
However, we're currently still permitting implicit conversion of
DebugLoc to MIMetadata, to allow for a gradual transition and let the
old code work as-is.
This manifests in lost !pcsections metadata for X86-specific lowerings.
For example, 128-bit atomics.
Fix the situation for X86ISelLowering by converting all BuildMI() calls
to use an explicitly constructed MIMetadata.
Reviewed By: dvyukov
Differential Revision: https://reviews.llvm.org/D154986
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions