Skip to content

Commit 2fdbb7e

Browse files
committed
Set the threshold multiplier to 2 instead
1 parent c42db21 commit 2fdbb7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class SystemZTTIImpl : public BasicTTIImplBase<SystemZTTIImpl> {
3838
/// \name Scalar TTI Implementations
3939
/// @{
4040

41+
unsigned getInliningThresholdMultiplier() const { return 2; }
4142
unsigned adjustInliningThreshold(const CallBase *CB) const;
4243

4344
InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,

0 commit comments

Comments
 (0)