bolt/deps/llvm-18.1.8/llvm/test/MC/AArch64/armv8.5a-bti-error.s
2025-02-14 19:21:04 +01:00

12 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