[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 17:59:49 PDT 2020


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

update:
1: merge header element checking into the new loop


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.299838.patch
Type: text/x-patch
Size: 10090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201022/edbc5e00/attachment.bin>


More information about the llvm-commits mailing list