[PATCH] D156272: [AArch64] [XRay] Account for XRay event instrs in Branch Relaxation
Daniel Hoekwater via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 19:36:32 PDT 2023
dhoekwater marked 2 inline comments as done.
dhoekwater added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:131
case TargetOpcode::PATCHABLE_FUNCTION_ENTER:
+ NumBytes =
+ F.getFnAttributeAsParsedInteger("patchable-function-entry", 9) * 4;
----------------
paquette wrote:
> comment?
Done! Thanks for the feedback.
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:140
+ case TargetOpcode::PATCHABLE_EVENT_CALL:
+ NumBytes = 24;
+ break;
----------------
paquette wrote:
> comment?
Done!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156272/new/
https://reviews.llvm.org/D156272
More information about the llvm-commits
mailing list