diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-08-13 13:31:30 +0000 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2018-08-13 13:31:30 +0000 |
commit | 5ffb27b16615aafb5190b43a667173f84bafadb4 (patch) | |
tree | 5d654ecfc50d6abeae65b8ec49fe5738ec68d0e5 /llvm | |
parent | 4aaf48013d041a554c4ae324b961c86fe05835b4 (diff) | |
download | bcm5719-llvm-5ffb27b16615aafb5190b43a667173f84bafadb4.tar.gz bcm5719-llvm-5ffb27b16615aafb5190b43a667173f84bafadb4.zip |
[SystemZ] Increase the amount of inlining.
Implement getInliningThresholdMultiplier() and have it return 3.
Review: Ulrich Weigand
llvm-svn: 339563
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h index 4b11a6f0a83..bfa942357c5 100644 --- a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h +++ b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h @@ -37,6 +37,8 @@ public: /// \name Scalar TTI Implementations /// @{ + unsigned getInliningThresholdMultiplier() { return 3; } + int getIntImmCost(const APInt &Imm, Type *Ty); int getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, Type *Ty); |