[PATCH] D84502: [AArch64][GlobalISel] Implement __builtin_return_address for PAC-RET
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 12:23:34 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:4796
+ Register TmpReg = MRI.createVirtualRegister(&AArch64::GPR64RegClass);
+ MIRBuilder.buildCopy({TmpReg}, {LiveInLR});
+ MIRBuilder.buildInstr(AArch64::XPACI, {DstReg}, {TmpReg});
----------------
Why do you need this temporary copy?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84502/new/
https://reviews.llvm.org/D84502
More information about the llvm-commits
mailing list