[all-commits] [llvm/llvm-project] f2675a: [ARM][CostModel] Implement getCFInstrCost

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Aug 5 04:45:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f2675ab45fbb41bb7c1e1b0b86533fc83e877b6b
      https://github.com/llvm/llvm-project/commit/f2675ab45fbb41bb7c1e1b0b86533fc83e877b6b
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-08-05 (Wed, 05 Aug 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
    M llvm/test/Analysis/CostModel/ARM/arith-overflow.ll
    M llvm/test/Analysis/CostModel/ARM/arith-ssat.ll
    M llvm/test/Analysis/CostModel/ARM/arith-usat.ll
    M llvm/test/Analysis/CostModel/ARM/arith.ll
    M llvm/test/Analysis/CostModel/ARM/cast.ll
    M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
    M llvm/test/Analysis/CostModel/ARM/cmps.ll
    M llvm/test/Analysis/CostModel/ARM/control-flow.ll
    M llvm/test/Analysis/CostModel/ARM/divrem.ll
    M llvm/test/Analysis/CostModel/ARM/fparith.ll
    M llvm/test/Analysis/CostModel/ARM/gep.ll
    M llvm/test/Analysis/CostModel/ARM/load_store.ll
    M llvm/test/Analysis/CostModel/ARM/memcpy.ll
    M llvm/test/Analysis/CostModel/ARM/mul-cast-vect.ll
    M llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
    M llvm/test/Analysis/CostModel/ARM/reduce-add.ll
    M llvm/test/Analysis/CostModel/ARM/reduce-smax.ll
    M llvm/test/Analysis/CostModel/ARM/reduce-smin.ll
    M llvm/test/Analysis/CostModel/ARM/reduce-umax.ll
    M llvm/test/Analysis/CostModel/ARM/reduce-umin.ll
    M llvm/test/Analysis/CostModel/ARM/select.ll
    M llvm/test/Analysis/CostModel/ARM/shl-cast-vect.ll
    M llvm/test/Analysis/CostModel/ARM/shuffle.ll
    M llvm/test/Analysis/CostModel/ARM/sub-cast-vect.ll

  Log Message:
  -----------
  [ARM][CostModel] Implement getCFInstrCost

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

Differential Revision: https://reviews.llvm.org/D85283




More information about the All-commits mailing list