Enable some pointer authentication instructions for aarch64 v8a targets
authorLuke Cheeseman <luke.cheeseman@arm.com>
Thu, 26 Jul 2018 14:00:50 +0000 (14:00 +0000)
committerLuke Cheeseman <luke.cheeseman@arm.com>
Thu, 26 Jul 2018 14:00:50 +0000 (14:00 +0000)
commit66b5e7da4cc91e5e1ebc07158370aa0ab108ceba
treeff6831a34386db6968e84d6ff08b95f90c346f4a
parent3f9758ee558b1d7d4bd12f059e24dd52a6d04618
Enable some pointer authentication instructions for aarch64 v8a targets

- Some of the v8.3 pointer authentication instruction inhabit the Hint space
- These instructions can be assembled to hint instructions which act as NOP instructions prior to v8.3
- This patch permits using the hint instructions for all v8a targets
- Also, correct the RETA{A,B} instructions to match the instruction attributes of RET (set isTerminator and isBarrier)

Differential Revision: https://reviews.llvm.org/D49786

llvm-svn: 338029
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/MC/AArch64/armv8.3a-signed-pointer.s