[PATCH] D153368: [AArch64][Inliner] Adjust savings multiplier for aarch64 inliner
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 10:06:27 PDT 2023
mingmingl created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
mingmingl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153368
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
Index: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
===================================================================
--- llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
+++ llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
@@ -208,6 +208,8 @@
bool IsZeroCmp) const;
bool useNeonVector(const Type *Ty) const;
+ unsigned getInliningCostBenefitAnalysisSavingsMultiplier() const { return 3; }
+
InstructionCost
getMemoryOpCost(unsigned Opcode, Type *Src, MaybeAlign Alignment,
unsigned AddressSpace, TTI::TargetCostKind CostKind,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153368.532976.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230620/69138bf7/attachment.bin>
More information about the llvm-commits
mailing list