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

8 lines
191 B
ArmAsm
Raw Normal View History

@ 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