diff options
| author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2016-04-11 15:24:23 +0000 |
|---|---|---|
| committer | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2016-04-11 15:24:23 +0000 |
| commit | e578e970cb979d000e6b1d734b406aa06d9313d4 (patch) | |
| tree | e32e2e67dd5a1b37092798050e0cfad321f5eb44 /llvm/test/CodeGen/Mips/msa/elm_copy.ll | |
| parent | 121571b7ce32513145d0f6d3cd21e45c2f5251b6 (diff) | |
| download | bcm5719-llvm-e578e970cb979d000e6b1d734b406aa06d9313d4.tar.gz bcm5719-llvm-e578e970cb979d000e6b1d734b406aa06d9313d4.zip | |
[mips] Make Static a default relocation model for MIPS codegen
This change follows up defaults for GCC and Clang, so LLVM does not differ
from them. While number of the test files are touched with this change, they
all keep the old (expected) behaviour with the explicit option:
"-relocation-model=pic"
The tests that have not been touched are insensitive to relocation model.
Differential Revision: http://reviews.llvm.org/D17995
llvm-svn: 265949
Diffstat (limited to 'llvm/test/CodeGen/Mips/msa/elm_copy.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/msa/elm_copy.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/Mips/msa/elm_copy.ll b/llvm/test/CodeGen/Mips/msa/elm_copy.ll index 251b535fd76..5368d181944 100644 --- a/llvm/test/CodeGen/Mips/msa/elm_copy.ll +++ b/llvm/test/CodeGen/Mips/msa/elm_copy.ll @@ -1,13 +1,13 @@ ; Test the MSA intrinsics that are encoded with the ELM instruction format and ; are element extraction operations. -; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | \ +; RUN: llc -march=mips -mattr=+msa,+fp64 -relocation-model=pic < %s | \ ; RUN: FileCheck %s -check-prefix=MIPS-ANY -check-prefix=MIPS32 -; RUN: llc -march=mipsel -mattr=+msa,+fp64 < %s | \ +; RUN: llc -march=mipsel -mattr=+msa,+fp64 -relocation-model=pic < %s | \ ; RUN: FileCheck %s -check-prefix=MIPS-ANY -check-prefix=MIPS32 -; RUN: llc -march=mips64 -mcpu=mips64r2 -mattr=+msa,+fp64 < %s | \ +; RUN: llc -march=mips64 -mcpu=mips64r2 -mattr=+msa,+fp64 -relocation-model=pic < %s | \ ; RUN: FileCheck %s -check-prefix=MIPS-ANY -check-prefix=MIPS64 -; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=+msa,+fp64 < %s | \ +; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=+msa,+fp64 -relocation-model=pic < %s | \ ; RUN: FileCheck %s -check-prefix=MIPS-ANY -check-prefix=MIPS64 @llvm_mips_copy_s_b_ARG1 = global <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, align 16 |

