[all-commits] [llvm/llvm-project] 35fa3c: [x86] add AVX2 cost model entries for maxnum of 25...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Nov 2 09:20:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 35fa3c474f4e6685da0d883bb6707ac5aa4d37cc
      https://github.com/llvm/llvm-project/commit/35fa3c474f4e6685da0d883bb6707ac5aa4d37cc
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-11-02 (Mon, 02 Nov 2020)

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

  Log Message:
  -----------
  [x86] add AVX2 cost model entries for maxnum of 256-bit vectors

As noticed in D90554 ,
the AVX2 costs for 256-bit vectors did not include FMAXNUM entries,
so we fell back to AVX1 which assumes those ops will be split into
128-bit halves or something close to that.

Differential Revision: https://reviews.llvm.org/D90613




More information about the All-commits mailing list