From d2c18d6b60e47de333ae6ffeeb1e7eaeb6e6030a Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Mon, 11 Apr 2016 15:24:23 +0000 Subject: [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265949 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/Mips/tls-models.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CodeGen/Mips/tls-models.ll') diff --git a/test/CodeGen/Mips/tls-models.ll b/test/CodeGen/Mips/tls-models.ll index 1a958dceaa2..ca3c7fde19d 100644 --- a/test/CodeGen/Mips/tls-models.ll +++ b/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 -- cgit v1.2.3