[PATCH] D89665: [LSR] ignore profitable chain optimization when instruction number is the major cost

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 07:59:00 PDT 2020


shchenz updated this revision to Diff 299693.
shchenz added a comment.

update:
1: put new added hook after `isProfitableLSRChainElement` for real...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89665

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
  llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
  llvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89665.299693.patch
Type: text/x-patch
Size: 10085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201021/b59dae7f/attachment.bin>


More information about the llvm-commits mailing list