[all-commits] [llvm/llvm-project] 90d258: [CostModel][X86] Improve accuracy of sext/zext to ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu May 27 10:18:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90d25808c4207d22eec27f2677b7e658308dd2f9
      https://github.com/llvm/llvm-project/commit/90d25808c4207d22eec27f2677b7e658308dd2f9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fix.ll
    M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
    M llvm/test/Analysis/CostModel/X86/arith.ll
    M llvm/test/Analysis/CostModel/X86/cast.ll
    M llvm/test/Analysis/CostModel/X86/extend.ll
    M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
    M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
    M llvm/test/Analysis/CostModel/X86/reduce-mul.ll
    M llvm/test/Analysis/CostModel/X86/rem.ll

  Log Message:
  -----------
  [CostModel][X86] Improve accuracy of sext/zext to 256-bit vector costs on AVX1 targets

Determined from llvm-mca analysis (btver2 vs bdver2 vs sandybridge), the split+extends+concat sequence on AVX1 capable targets are cheaper than the #ops that the cost was previously based on.




More information about the All-commits mailing list