1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/MC/AArch64/armv8.5a-predres-error.s
Diogo N. Sampaio dfa50c3062 [AArch64] Move feature predctrl to predres
Follow up patch of rL350385, for adding predres
command line option. This patch renames the
feature as to keep it aligned with the option
passed by/to clang

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

llvm-svn: 350702
2019-01-09 11:24:15 +00:00

21 lines
578 B
ArmAsm

// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+predres < %s 2>&1| FileCheck %s
cfp rctx
dvp rctx
cpp rctx
// CHECK: specified cfp op requires a register
// CHECK: specified dvp op requires a register
// CHECK: specified cpp op requires a register
cfp x0, x1
dvp x1, x2
cpp x2, x3
// CHECK: invalid operand for prediction restriction instruction
// CHECK-NEXT: cfp
// CHECK: invalid operand for prediction restriction instruction
// CHECK-NEXT: dvp
// CHECK: invalid operand for prediction restriction instruction
// CHECK-NEXT: cpp