[AArch64] Fix for BTI landing pad insertion with PAC-RET+bkey.
authorDaniel Kiss <daniel.kiss@arm.com>
Fri, 23 Apr 2021 08:06:15 +0000 (10:06 +0200)
committerDaniel Kiss <daniel.kiss@arm.com>
Fri, 23 Apr 2021 08:07:25 +0000 (10:07 +0200)
commitb1f463dcae3aafadac2b6a36583f38dea6a7136e
tree631887c6a2aaae979f972f313ee7a8c6d3d6c3db
parenta46bbc14f004c06bd1317e6d7a486c29133f1c0b
[AArch64] Fix for BTI landing pad insertion with PAC-RET+bkey.

EMITBKEY is emitted for PAC-RET+bkey, which is a non machine instructions.

PR: 49957

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D100996
llvm/lib/Target/AArch64/AArch64BranchTargets.cpp
llvm/test/CodeGen/AArch64/sign-return-address.ll