From 3f87f2510c0d84fe092ac311a0e25a5e2f7aa3ac Mon Sep 17 00:00:00 2001 From: Joey Gouly Date: Tue, 13 Aug 2013 16:40:47 +0000 Subject: ARMv8: SWP and SWPB are obsoleted on ARMv8. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188288 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/obsolete-v8.s | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/MC/ARM/obsolete-v8.s (limited to 'test/MC') 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 -- cgit v1.1