[all-commits] [llvm/llvm-project] 91bc50: [CostModel][X86] Improve InsertElement costs for s...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Apr 10 06:56:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91bc50c0d7a35a589f30fbec180cc7cea1288779
      https://github.com/llvm/llvm-project/commit/91bc50c0d7a35a589f30fbec180cc7cea1288779
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/fptosi.ll
    M llvm/test/Analysis/CostModel/X86/fptoui.ll
    M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-extract_subvector.ll
    M llvm/test/Analysis/CostModel/X86/vector-insert.ll

  Log Message:
  -----------
  [CostModel][X86] Improve InsertElement costs for sub-128bit vectors

If we're inserting into v2i8/v4i8/v8i8/v2i16/v4i16 style sub-128bit vectors ensure we don't use the SK_PermuteTwoSrc cost of the legalized value type - this is a followup to rG12c629ec6c59 which added equivalent sub-128bit shuffle costs




More information about the All-commits mailing list