[PATCH] D156354: [XRay] Only avoid outlining pseudo-instructions, not whole blocks
Daniel Hoekwater via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 11:13:48 PDT 2023
dhoekwater created this revision.
dhoekwater added reviewers: paquette, MaskRay.
Herald added subscribers: luke, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, dberris.
Herald added a project: All.
dhoekwater requested review of this revision.
Herald added subscribers: llvm-commits, wangpc.
Herald added a project: LLVM.
While some pseudo-instructions, such as fentry and PATCHABLE
instructions, must not be outlined, safe instruction sequences
within the same basic block can be outlined. Move the logic that
prevents pseudo-instruction outlining from the basic block level
to the instruction level. Doing so allows more instructions to be
safely outlined.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D156354
Files:
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-outliner-patchable.mir
llvm/test/CodeGen/RISCV/machine-outliner-patchable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156354.544446.patch
Type: text/x-patch
Size: 8074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/1ae4b358/attachment.bin>
More information about the llvm-commits
mailing list