[PATCH] D130886: [GlobalISel] Propagate PCSections metadata to MachineInstr
Marco Elver via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 01:59:24 PDT 2022
melver created this revision.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
Herald added a project: All.
melver requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Propagate (most) PC sections metadata to MachineInstr when GlobalISel is
doing instruction selection.
This change results in support for architectures using GlobalISel (such
as -O0 with AArch64). Not all instructions may be supported yet, and
requires further target-specific handling (such as done for AArch64
pseudo-atomics).
Depends on D130885 <https://reviews.llvm.org/D130885>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130886
Files:
llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/test/CodeGen/AArch64/pcsections.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130886.448955.patch
Type: text/x-patch
Size: 9129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/54091ad5/attachment.bin>
More information about the llvm-commits
mailing list