summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/tls-models.ll
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@imgtec.com>2016-04-11 15:24:23 +0000
committerPetar Jovanovic <petar.jovanovic@imgtec.com>2016-04-11 15:24:23 +0000
commite578e970cb979d000e6b1d734b406aa06d9313d4 (patch)
treee32e2e67dd5a1b37092798050e0cfad321f5eb44 /llvm/test/CodeGen/Mips/tls-models.ll
parent121571b7ce32513145d0f6d3cd21e45c2f5251b6 (diff)
downloadbcm5719-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/tls-models.ll')
-rw-r--r--llvm/test/CodeGen/Mips/tls-models.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/tls-models.ll b/llvm/test/CodeGen/Mips/tls-models.ll
index 1a958dceaa2..ca3c7fde19d 100644
--- a/llvm/test/CodeGen/Mips/tls-models.ll
+++ b/llvm/test/CodeGen/Mips/tls-models.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=mipsel < %s | FileCheck -check-prefix=CHECK-PIC %s
+; RUN: llc -march=mipsel -relocation-model=pic < %s | FileCheck -check-prefix=CHECK-PIC %s
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck -check-prefix=CHECK-NONPIC %s
@external_gd = external thread_local global i32
OpenPOWER on IntegriCloud