[all-commits] [llvm/llvm-project] 9df32c: [CostModel] remove cost-kind predicate for funnel ...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Oct 28 11:18:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9df32c9044aa051bb12277388956ac7a828d4ff8
      https://github.com/llvm/llvm-project/commit/9df32c9044aa051bb12277388956ac7a828d4ff8
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
    M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll

  Log Message:
  -----------
  [CostModel] remove cost-kind predicate for funnel shift costs

Completing the series of FIXME removals for special-case intrinsics:
50dfa19cc799
f2c25c70791d
c963bde0152a
01ea93d85d6e

This one looks quite different than the others. The size/blended
cost is still potentially very far off from the throughput cost,
but this is hopefully not worse on the whole. It looks like the
underlying costs for the expanded shift/logic have their own
cost-kind limitations. Also, we are not asking the target if
it has a legal funnel shift op, so we just assume that the
intrinsic gets expanded.




More information about the All-commits mailing list