diff options
Diffstat (limited to 'test/MC/ARM/obsolete-v8.s')
-rw-r--r-- | test/MC/ARM/obsolete-v8.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/ARM/obsolete-v8.s b/test/MC/ARM/obsolete-v8.s new file mode 100644 index 0000000..0d6176b --- /dev/null +++ b/test/MC/ARM/obsolete-v8.s @@ -0,0 +1,7 @@ +@ 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 |