[all-commits] [llvm/llvm-project] a5b7c3: [AArch64][PAC] Fix creating check instructions for...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Mon May 27 14:11:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
https://github.com/llvm/llvm-project/commit/a5b7c36bda22f6b2a1e2f20ba6959c66308cb66a
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
M llvm/test/CodeGen/AArch64/sign-return-address-tailcall.ll
Log Message:
-----------
[AArch64][PAC] Fix creating check instructions for BBs without an epilog (#92508)
`AArch64PAuth::checkAuthenticatedRegister()` splits the basic block
containing the tail call instruction to add check instructions, assuming
at least one more instruction before the call. This assumption is
incorrect in cases where some execution paths lead to the termination
block without creating the stack frame. This patch rearranges the
creation of the checks so that the prior splitting is not required.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list