summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-06-26 16:58:26 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-06-26 16:58:26 +0000
commitb3f550e8cd5ff1d2304582e95dd494bf955f27d3 (patch)
tree747556a16d6009e599f1527a5daad041e55c6293 /llvm/test
parentf4ca3994b88e9d758e648365aebed8ce277705f3 (diff)
downloadbcm5719-llvm-b3f550e8cd5ff1d2304582e95dd494bf955f27d3.tar.gz
bcm5719-llvm-b3f550e8cd5ff1d2304582e95dd494bf955f27d3.zip
Add a subtarget feature 'v8' to the ARM backend.
This allows for targeting the ARMv8 AArch32 variant. llvm-svn: 184967
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll23
1 files changed, 16 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll b/llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
index bda14bcb152..e9cd3f224fe 100644
--- a/llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
+++ b/llvm/test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
@@ -1,12 +1,21 @@
-; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
+; RUN: llc < %s -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=V7
+; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8
+; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi | FileCheck %s --check-prefix=Vt8
; This tests that MC/asm header conversion is smooth
;
-; CHECK: .syntax unified
-; CHECK: .eabi_attribute 20, 1
-; CHECK: .eabi_attribute 21, 1
-; CHECK: .eabi_attribute 23, 3
-; CHECK: .eabi_attribute 24, 1
-; CHECK: .eabi_attribute 25, 1
+; V7: .syntax unified
+; V7: .eabi_attribute 6, 10
+; V7: .eabi_attribute 20, 1
+; V7: .eabi_attribute 21, 1
+; V7: .eabi_attribute 23, 3
+; V7: .eabi_attribute 24, 1
+; V7: .eabi_attribute 25, 1
+
+; V8: .syntax unified
+; V8: .eabi_attribute 6, 14
+
+; Vt8: .syntax unified
+; Vt8: .eabi_attribute 6, 14
define i32 @f(i64 %z) {
ret i32 0
OpenPOWER on IntegriCloud