diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-06-26 19:08:49 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-06-26 19:08:49 +0000 |
commit | 842cfc91f29f6446bb675891f7abc127f9fbe768 (patch) | |
tree | b65deaab8766fb490db419393e963eea97691190 /test/MC/Mips | |
parent | 9a308df027b60057d0fe3ba7a3ee9648f6677879 (diff) | |
download | llvm-842cfc91f29f6446bb675891f7abc127f9fbe768.tar.gz llvm-842cfc91f29f6446bb675891f7abc127f9fbe768.tar.bz2 llvm-842cfc91f29f6446bb675891f7abc127f9fbe768.tar.xz |
[mips] Do not emit ".option pic0" if target is mips64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips')
-rw-r--r-- | test/MC/Mips/abicalls.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/Mips/abicalls.ll b/test/MC/Mips/abicalls.ll index a93ae6d9c6..7b98b02d05 100644 --- a/test/MC/Mips/abicalls.ll +++ b/test/MC/Mips/abicalls.ll @@ -7,6 +7,8 @@ ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-STATIC %s ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 %s -o - | FileCheck -check-prefix=CHECK-PIC %s +; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s + ; CHECK-STATIC: .abicalls ; CHECK-STATIC-NEXT: pic0 ; CHECK-PIC: .abicalls |