From: Jonas Paulsson Date: Mon, 13 Aug 2018 13:31:30 +0000 (+0000) Subject: [SystemZ] Increase the amount of inlining. X-Git-Tag: llvmorg-8.0.0-rc1~11162 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ffb27b16615aafb5190b43a667173f84bafadb4;p=platform%2Fupstream%2Fllvm.git [SystemZ] Increase the amount of inlining. Implement getInliningThresholdMultiplier() and have it return 3. Review: Ulrich Weigand llvm-svn: 339563 --- diff --git a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h index 4b11a6f0a837..bfa942357c55 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);