[PATCH] D109513: [AsmPrinter, SystemZ] Allow target to add instructions before section is ended.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 9 08:39:15 PDT 2021
jonpa created this revision.
jonpa added reviewers: uweigand, aeubanks.
Herald added a subscriber: hiraditya.
jonpa requested review of this revision.
Herald added a project: LLVM.
SystemZ adds EXRL target instructions in the end of each file. They need to be added to the text section and just like with constant pools this needs to happen before debug info emission since that may end the text section.
In order to facilitate this a new virtual method emitSectionEndings() has been added that is called at the same point as emitConstantPools().
https://reviews.llvm.org/D109513
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
llvm/test/CodeGen/SystemZ/memset-06.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109513.371604.patch
Type: text/x-patch
Size: 4675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210909/5e4e56a1/attachment.bin>
More information about the llvm-commits
mailing list