[PATCH] D79164: [CostModel] getCFInstrCost

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 05:53:02 PDT 2020


samparker updated this revision to Diff 262074.
samparker added a reviewer: jsji.
samparker added a subscriber: jsji.
samparker added a comment.

Fixed some tests that needed asserts... which meant passing the CostKind from the vectorizer too special handling Phis in the base implementation. The important test is in PowerPC where the vector factor is now the same for PPC8 and PPC9. @jsji would you mind taking a look?


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

https://reviews.llvm.org/D79164

Files:
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Analysis/CostModel/AArch64/aggregates.ll
  llvm/test/Analysis/CostModel/AArch64/shuffle-broadcast.ll
  llvm/test/Analysis/CostModel/ARM/arith.ll
  llvm/test/Analysis/CostModel/ARM/cast.ll
  llvm/test/Analysis/CostModel/ARM/control-flow.ll
  llvm/test/Analysis/CostModel/ARM/divrem.ll
  llvm/test/Analysis/CostModel/ARM/fparith.ll
  llvm/test/Analysis/CostModel/ARM/freeshift.ll
  llvm/test/Analysis/CostModel/ARM/gep.ll
  llvm/test/Analysis/CostModel/ARM/icmps.ll
  llvm/test/Analysis/CostModel/ARM/immediates.ll
  llvm/test/Analysis/CostModel/ARM/load_store.ll
  llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
  llvm/test/Analysis/CostModel/ARM/select.ll
  llvm/test/Analysis/CostModel/ARM/shuffle.ll
  llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll
  llvm/test/Analysis/CostModel/RISCV/gep.ll
  llvm/test/Analysis/CostModel/SystemZ/cmp-mem.ll
  llvm/test/Analysis/CostModel/SystemZ/int-operands-extcost.ll
  llvm/test/Transforms/LoopVectorize/AArch64/aarch64-predication.ll
  llvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
  llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
  llvm/test/Transforms/LoopVectorize/PowerPC/reg-usage.ll
  llvm/test/Transforms/LoopVectorize/SystemZ/branch-for-predicated-block.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79164.262074.patch
Type: text/x-patch
Size: 281500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/8f16a848/attachment-0001.bin>


More information about the llvm-commits mailing list