[all-commits] [llvm/llvm-project] cbfa85: [CostModel][X86] Adjust 128-bit select costs to ac...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri May 6 05:08:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbfa85734632ad7f961b18539464e7e870f80fd6
      https://github.com/llvm/llvm-project/commit/cbfa85734632ad7f961b18539464e7e870f80fd6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-sminmax.ll
    M llvm/test/Analysis/CostModel/X86/arith-ssat.ll
    M llvm/test/Analysis/CostModel/X86/arith-uminmax.ll
    M llvm/test/Analysis/CostModel/X86/arith-usat.ll
    M llvm/test/Analysis/CostModel/X86/fptoi_sat.ll
    M llvm/test/Analysis/CostModel/X86/fshl.ll
    M llvm/test/Analysis/CostModel/X86/fshr.ll
    M llvm/test/Analysis/CostModel/X86/reduce-smax.ll
    M llvm/test/Analysis/CostModel/X86/reduce-smin.ll
    M llvm/test/Analysis/CostModel/X86/reduce-umax.ll
    M llvm/test/Analysis/CostModel/X86/reduce-umin.ll
    M llvm/test/Analysis/CostModel/X86/vselect-cost.ll
    M llvm/test/Transforms/LoopVectorize/X86/vector-scalar-select-cost.ll

  Log Message:
  -----------
  [CostModel][X86] Adjust 128-bit select costs to account for slow BLENDV op

Based off the script from D103695 - Jaguar, Bulldozer, Silvermont (et al) and Haswell all have slow BLENDV ops, so adjust the worse case cost values




More information about the All-commits mailing list