[SystemZ] Increase the amount of inlining.
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 13 Aug 2018 13:31:30 +0000 (13:31 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 13 Aug 2018 13:31:30 +0000 (13:31 +0000)
Implement getInliningThresholdMultiplier() and have it return 3.

Review: Ulrich Weigand
llvm-svn: 339563

llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h

index 4b11a6f0a837518e69ceef8bfb19235e77bf8cad..bfa942357c55979989660516c9b2d194a73f60f6 100644 (file)
@@ -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);