summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/toc-float.ll
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2018-12-04 20:14:57 +0000
committerStefan Pintilie <stefanp@ca.ibm.com>2018-12-04 20:14:57 +0000
commit46f840f28678dbdcfc9e97fd1185ca99d33995f9 (patch)
treebda3de3a3aa3e339366cb62938a293dc37c2ce18 /llvm/test/CodeGen/PowerPC/toc-float.ll
parentf3c8a007601044158b2868ab06594b0ce18d06f4 (diff)
downloadbcm5719-llvm-46f840f28678dbdcfc9e97fd1185ca99d33995f9.tar.gz
bcm5719-llvm-46f840f28678dbdcfc9e97fd1185ca99d33995f9.zip
[PowerPC] Make no-PIC default to match GCC - LLVM
Change the default for PowerPC LE to -fno-PIC. Differential Revision: https://reviews.llvm.org/D53383 llvm-svn: 348298
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/toc-float.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/toc-float.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/toc-float.ll b/llvm/test/CodeGen/PowerPC/toc-float.ll
index 4f5c34110ea..ff892e07c72 100644
--- a/llvm/test/CodeGen/PowerPC/toc-float.ll
+++ b/llvm/test/CodeGen/PowerPC/toc-float.ll
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 <%s | FileCheck -check-prefix=CHECK-P9 %s
-; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 <%s | FileCheck -check-prefix=CHECK-P8 %s
+; RUN: llc -relocation-model=pic -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 <%s | FileCheck -check-prefix=CHECK-P9 %s
+; RUN: llc -relocation-model=pic -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 <%s | FileCheck -check-prefix=CHECK-P8 %s
; As the constant could be represented as float, a float is
; loaded from constant pool.
OpenPOWER on IntegriCloud