[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:22:38 PDT 2020
    
    
  
shchenz updated this revision to Diff 299681.
shchenz marked an inline comment as done.
shchenz added a comment.
update:
1: modify the new hook name
2: move it after `isProfitableLSRChainElement`
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.299681.patch
Type: text/x-patch
Size: 9730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201021/019743a6/attachment.bin>
    
    
More information about the llvm-commits
mailing list