[all-commits] [llvm/llvm-project] 37a462: [DAG] SelectionDAG::isSplatValue - early out if bi...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Apr 16 10:26:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37a4621fb6ffc121ec78936a8243219ff53be760
      https://github.com/llvm/llvm-project/commit/37a4621fb6ffc121ec78936a8243219ff53be760
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

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

  Log Message:
  -----------
  [DAG] SelectionDAG::isSplatValue - early out if binop is not splat. NFCI.

Just return false if we fail to match splats - the remainder of the code is for (fixed)vector operations - shuffles/insertions etc.


  Commit: 82240e07ebdc4c0f492e31a1e93d228d06120f8e
      https://github.com/llvm/llvm-project/commit/82240e07ebdc4c0f492e31a1e93d228d06120f8e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M llvm/utils/TableGen/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  [TableGen] CodeGenDAGPatterns - (style) remove if-else chain when if block always returns. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/af2a93fd6e9f...82240e07ebdc


More information about the All-commits mailing list