[PATCH] D72683: [PowerPC] set instruction number as 1st priority for lsr cost model

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 23:20:07 PST 2020


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

add option `ppc-lsr-no-insns-cost` to support using default lsr cost model on PowerPC & one test case for the option.


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

https://reviews.llvm.org/D72683

Files:
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
  llvm/test/CodeGen/PowerPC/addi-licm.ll
  llvm/test/CodeGen/PowerPC/lsr-insns-cost.ll
  llvm/test/CodeGen/PowerPC/unal-altivec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72683.244575.patch
Type: text/x-patch
Size: 5676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200214/95bdd3a8/attachment.bin>


More information about the llvm-commits mailing list