[all-commits] [llvm/llvm-project] 791040: [DAG] LowerMINMAX - move default expansion to gene...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Nov 22 05:02:59 PST 2020


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

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [DAG] LowerMINMAX - move default expansion to generic TargetLowering::expandIntMINMAX

This is part of the discussion on D91876 about trying to reduce custom lowering of MIN/MAX ops on older SSE targets - if we can improve generic vector expansion we should be able to relax the limitations in SelectionDAGBuilder when it will let MIN/MAX ops be generated, and avoid having to flag so many ops as 'custom'.




More information about the All-commits mailing list