From 5ffb27b16615aafb5190b43a667173f84bafadb4 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Mon, 13 Aug 2018 13:31:30 +0000 Subject: [PATCH] [SystemZ] Increase the amount of inlining. Implement getInliningThresholdMultiplier() and have it return 3. Review: Ulrich Weigand llvm-svn: 339563 --- llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h | 2 ++ 1 file changed, 2 insertions(+) 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);