[all-commits] [llvm/llvm-project] 48bd6a: [DAGCombiner] visitIMINMAX - use general Selection...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jan 29 08:57:29 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 48bd6a0986853662393188072c6211acda413ddf
      https://github.com/llvm/llvm-project/commit/48bd6a0986853662393188072c6211acda413ddf
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] visitIMINMAX - use general SelectionDAG::FoldConstantArithmetic

This handles all the constant splat / opaque testing for us instead of the ConstantSDNode variant where we have to do it ourselves.


  Commit: 4b04e117357553205b9c9a95da7e44f026cd842f
      https://github.com/llvm/llvm-project/commit/4b04e117357553205b9c9a95da7e44f026cd842f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAGCombiner] Sub/SUBSAT - use general SelectionDAG::FoldConstantArithmetic

This handles all the constant splat / opaque testing for us.


Compare: https://github.com/llvm/llvm-project/compare/e5edd641fde0...4b04e1173575


More information about the All-commits mailing list