[PATCH] D85283: [ARM][CostModel] Implement getCFInstrCost

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 01:41:36 PDT 2020


samparker created this revision.
samparker added reviewers: dmgreen, SjoerdMeijer, fhahn.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
samparker requested review of this revision.

As with other targets, set the throughput cost of control-flow instructions to free so that we don't miss out of vectorization opportunities.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85283

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.h
  llvm/test/Analysis/CostModel/ARM/arith-overflow.ll
  llvm/test/Analysis/CostModel/ARM/arith-ssat.ll
  llvm/test/Analysis/CostModel/ARM/arith-usat.ll
  llvm/test/Analysis/CostModel/ARM/arith.ll
  llvm/test/Analysis/CostModel/ARM/cast.ll
  llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
  llvm/test/Analysis/CostModel/ARM/cmps.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/gep.ll
  llvm/test/Analysis/CostModel/ARM/load_store.ll
  llvm/test/Analysis/CostModel/ARM/memcpy.ll
  llvm/test/Analysis/CostModel/ARM/mul-cast-vect.ll
  llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
  llvm/test/Analysis/CostModel/ARM/reduce-add.ll
  llvm/test/Analysis/CostModel/ARM/reduce-smax.ll
  llvm/test/Analysis/CostModel/ARM/reduce-smin.ll
  llvm/test/Analysis/CostModel/ARM/reduce-umax.ll
  llvm/test/Analysis/CostModel/ARM/reduce-umin.ll
  llvm/test/Analysis/CostModel/ARM/select.ll
  llvm/test/Analysis/CostModel/ARM/shl-cast-vect.ll
  llvm/test/Analysis/CostModel/ARM/shuffle.ll
  llvm/test/Analysis/CostModel/ARM/sub-cast-vect.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85283.283164.patch
Type: text/x-patch
Size: 362310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/d9f8181a/attachment-0001.bin>


More information about the llvm-commits mailing list