[PATCH] D79483: [CostModel] Replace getUserCost with getInstructionCost.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 03:09:04 PDT 2022


RKSimon updated this revision to Diff 453604.
RKSimon added a comment.

Make the default fp latency = 3 to be x86 only


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79483/new/

https://reviews.llvm.org/D79483

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/CodeMetrics.cpp
  llvm/lib/Analysis/InlineCost.cpp
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
  llvm/lib/Transforms/Scalar/JumpThreading.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Scalar/LoopFlatten.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Analysis/CostModel/AArch64/sve-math.ll
  llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
  llvm/test/Analysis/CostModel/ARM/target-intrinsics.ll
  llvm/test/Analysis/CostModel/SystemZ/ext-of-icmp-cost.ll
  llvm/test/Analysis/CostModel/X86/arith-fp-costkinds.ll
  llvm/test/Analysis/CostModel/X86/costmodel.ll
  llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79483.453604.patch
Type: text/x-patch
Size: 75752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220818/0c4d58be/attachment.bin>


More information about the llvm-commits mailing list