[all-commits] [llvm/llvm-project] d484cc: [TTI] Adjust `getReplicationShuffleCost()` interface

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Nov 9 03:08:29 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d484cc152b1d9282230a17a218337342d52536e2
      https://github.com/llvm/llvm-project/commit/d484cc152b1d9282230a17a218337342d52536e2
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp

  Log Message:
  -----------
  [TTI] Adjust `getReplicationShuffleCost()` interface

It is trivial to produce DemandedSrcElts given DemandedReplicatedElts,
so don't pass the former. Also, it isn't really useful so far
to have the overload taking the Mask, so just inline it.




More information about the All-commits mailing list