[llvm] r339563 - [SystemZ] Increase the amount of inlining.

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 06:31:30 PDT 2018


Author: jonpa
Date: Mon Aug 13 06:31:30 2018
New Revision: 339563

URL: http://llvm.org/viewvc/llvm-project?rev=339563&view=rev
Log:
[SystemZ]  Increase the amount of inlining.

Implement getInliningThresholdMultiplier() and have it return 3.

Review: Ulrich Weigand

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h

Modified: llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h?rev=339563&r1=339562&r2=339563&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h Mon Aug 13 06:31:30 2018
@@ -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);




More information about the llvm-commits mailing list