mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
5be239fc50
This adds new instructions used by the Branch Target Identification feature. When this is enabled, these are the only instructions which can be targeted by indirect branch instructions. Patch by Pablo Barrio! Differential revision: https://reviews.llvm.org/D52485 llvm-svn: 343225
13 lines
304 B
ArmAsm
13 lines
304 B
ArmAsm
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+bti < %s 2>&1 | FileCheck %s
|
|
|
|
bti cj
|
|
bti a
|
|
bti x0
|
|
|
|
// CHECK: invalid operand for instruction
|
|
// CHECK-NEXT: cj
|
|
// CHECK: invalid operand for instruction
|
|
// CHECK-NEXT: a
|
|
// CHECK: invalid operand for instruction
|
|
// CHECK-NEXT: x0
|