summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
diff options
context:
space:
mode:
authorZaara Syeda <syzaara@ca.ibm.com>2018-01-17 20:00:15 +0000
committerZaara Syeda <syzaara@ca.ibm.com>2018-01-17 20:00:15 +0000
commitc9dc7b451b48be78681627a90339b4e7ee66fcb8 (patch)
tree8758ebc7f35542af3311cf7d8f510d3e64c58aeb /llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
parentf5ff5d584ebbbbe63e3b24f194df7b5942b43adb (diff)
downloadbcm5719-llvm-c9dc7b451b48be78681627a90339b4e7ee66fcb8.tar.gz
bcm5719-llvm-c9dc7b451b48be78681627a90339b4e7ee66fcb8.zip
Revert [PowerPC] This reverts commit rL322721
Failing build bots. Revert the commit now. llvm-svn: 322748
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
index 226c75f704f..aa4073f7ea0 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
@@ -27,11 +27,6 @@ static cl::opt<unsigned>
CacheLineSize("ppc-loop-prefetch-cache-line", cl::Hidden, cl::init(64),
cl::desc("The loop prefetch cache line size"));
-static cl::opt<bool>
-EnablePPCColdCC("ppc-enable-coldcc", cl::Hidden, cl::init(false),
- cl::desc("Enable using coldcc calling conv for cold "
- "internal functions"));
-
//===----------------------------------------------------------------------===//
//
// PPC cost model.
@@ -220,14 +215,6 @@ void PPCTTIImpl::getUnrollingPreferences(Loop *L, ScalarEvolution &SE,
BaseT::getUnrollingPreferences(L, SE, UP);
}
-// This function returns true to allow using coldcc calling convention.
-// Returning true results in coldcc being used for functions which are cold at
-// all call sites when the callers of the functions are not calling any other
-// non coldcc functions.
-bool PPCTTIImpl::useColdCCForColdCall(Function &F) {
- return EnablePPCColdCC;
-}
-
bool PPCTTIImpl::enableAggressiveInterleaving(bool LoopHasReductions) {
// On the A2, always unroll aggressively. For QPX unaligned loads, we depend
// on combining the loads generated for consecutive accesses, and failure to
OpenPOWER on IntegriCloud