llvm-for-llvmta/test/MC/ARM/obsolete-v8.s

8 lines
191 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
@ RUN: not llvm-mc -triple=armv8 < %s 2>&1 | FileCheck %s
swp r0, r1, [r2]
@ CHECK: instruction requires: armv7 or earlier
swpb r0, r1, [r2]
@ CHECK: instruction requires: armv7 or earlier