diff options
author | Amara Emerson <amara.emerson@arm.com> | 2014-07-25 14:03:14 +0000 |
---|---|---|
committer | Amara Emerson <amara.emerson@arm.com> | 2014-07-25 14:03:14 +0000 |
commit | 115d2df8a4406959fd0b62b205611bb75773aab3 (patch) | |
tree | b1f25c553ba5596397e96618733ac6f283b87f3e /llvm/test/CodeGen/ARM/build-attributes.ll | |
parent | 6819cf497411afe10738d6792cf208ee9271443a (diff) | |
download | bcm5719-llvm-115d2df8a4406959fd0b62b205611bb75773aab3.tar.gz bcm5719-llvm-115d2df8a4406959fd0b62b205611bb75773aab3.zip |
[ARM] Emit ABI_PCS_R9_use build attribute.
Patch by Ben Foster!
Differential Revision: http://reviews.llvm.org/D4657
llvm-svn: 213944
Diffstat (limited to 'llvm/test/CodeGen/ARM/build-attributes.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/build-attributes.ll | 5 |
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 d75d55d0fa6..a4b77c80c10 100644 --- a/llvm/test/CodeGen/ARM/build-attributes.ll +++ b/llvm/test/CodeGen/ARM/build-attributes.ll @@ -38,6 +38,8 @@ ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=default | FileCheck %s --check-prefix=RELOC-OTHER ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -relocation-model=dynamic-no-pic | FileCheck %s --check-prefix=RELOC-OTHER ; RUN: llc < %s -mtriple=arm-none-linux-gnueabi | FileCheck %s --check-prefix=RELOC-OTHER +; RUN: llc < %s -mtriple=arm-none-linux-gnueabi | FileCheck %s --check-prefix=PCS-R9-USE +; RUN: llc < %s -mtriple=arm-none-linux-gnueabi -arm-reserve-r9 | FileCheck %s --check-prefix=PCS-R9-RESERVE ; XSCALE: .eabi_attribute 6, 5 ; XSCALE: .eabi_attribute 8, 1 @@ -463,6 +465,9 @@ ; RELOC-PIC: .eabi_attribute 17, 2 ; RELOC-OTHER: .eabi_attribute 17, 1 +; PCS-R9-USE: .eabi_attribute 14, 0 +; PCS-R9-RESERVE: .eabi_attribute 14, 3 + define i32 @f(i64 %z) { ret i32 0 } |