[all-commits] [llvm/llvm-project] 385a27: [CostModel][X86] Refresh ISD::ABS costs

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 25 10:40:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 385a27d6cdaddbb99da5518da3cb6713d9677df3
      https://github.com/llvm/llvm-project/commit/385a27d6cdaddbb99da5518da3cb6713d9677df3
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/abs.ll

  Log Message:
  -----------
  [CostModel][X86] Refresh ISD::ABS costs

Update costs now that D92095 and D92102 have tweaked the SSE2 implementation

The SSE42 BLENDVPD cost can actually be used on SSE41 as we don't attempt to generate PCMPGT anymore

Add scalar i16/i32/i64 costs as we can do this cheaply with CMOV




More information about the All-commits mailing list