summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/toc-float.ll
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2018-11-16 18:36:21 +0000
committerStefan Pintilie <stefanp@ca.ibm.com>2018-11-16 18:36:21 +0000
commit046eff502f3bf2c39f210c58d17e5fcf3c2f8229 (patch)
treeb2b451656b8d40d2195721ceeefc5946240e2016 /llvm/test/CodeGen/PowerPC/toc-float.ll
parent534618d78e0a7210515380ae33b06f8b6eac5a51 (diff)
downloadbcm5719-llvm-046eff502f3bf2c39f210c58d17e5fcf3c2f8229.tar.gz
bcm5719-llvm-046eff502f3bf2c39f210c58d17e5fcf3c2f8229.zip
[PowerPC] Make no-PIC default to match GCC - LLVM
Set -fno-PIC as the default option. Differential Revision: https://reviews.llvm.org/D53383 llvm-svn: 347069
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