summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/build-attributes.ll
diff options
context:
space:
mode:
authorAmara Emerson <amara.emerson@arm.com>2014-01-16 15:11:54 +0000
committerAmara Emerson <amara.emerson@arm.com>2014-01-16 15:11:54 +0000
commitdba59eb3f474727db3b3628ac0b9b48e8289699f (patch)
tree465bf703b7cbc23b5b16b1094fd33d2ef6e8c0b3 /llvm/test/CodeGen/ARM/build-attributes.ll
parent4755304fd1abd54499867c306458df2782fb9252 (diff)
downloadbcm5719-llvm-dba59eb3f474727db3b3628ac0b9b48e8289699f.tar.gz
bcm5719-llvm-dba59eb3f474727db3b3628ac0b9b48e8289699f.zip
Move the xscale build attribute test to the proper place and remove the old one.
The encoding of build attributes is already tested in CodeGen/ARM/build-attributes-encoding.s llvm-svn: 199393
Diffstat (limited to 'llvm/test/CodeGen/ARM/build-attributes.ll')
-rw-r--r--llvm/test/CodeGen/ARM/build-attributes.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/build-attributes.ll b/llvm/test/CodeGen/ARM/build-attributes.ll
index ce7a31f3dc5..1b735a6c278 100644
--- a/llvm/test/CodeGen/ARM/build-attributes.ll
+++ b/llvm/test/CodeGen/ARM/build-attributes.ll
@@ -1,6 +1,7 @@
; This tests that MC/asm header conversion is smooth and that the
; build attributes are correct
+; RUN: llc < %s -mtriple=thumbv5-linux-gnueabi -mcpu=xscale | FileCheck %s --check-prefix=XSCALE
; RUN: llc < %s -mtriple=armv6-linux-gnueabi | FileCheck %s --check-prefix=V6
; RUN: llc < %s -mtriple=thumbv6m-linux-gnueabi | FileCheck %s --check-prefix=V6M
; RUN: llc < %s -mtriple=armv6-linux-gnueabi -mcpu=arm1156t2f-s | FileCheck %s --check-prefix=ARM1156T2F-S
@@ -32,6 +33,10 @@
; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mcpu=cortex-a7 -mattr=+vfp4,,+d16,-neon | FileCheck %s --check-prefix=CORTEX-A7-FPUV4
+; XSCALE: .eabi_attribute 6, 5
+; XSCALE: .eabi_attribute 8, 1
+; XSCALE: .eabi_attribute 9, 1
+
; V6: .eabi_attribute 6, 6
; V6: .eabi_attribute 8, 1
; V6: .eabi_attribute 24, 1
OpenPOWER on IntegriCloud