[all-commits] [llvm/llvm-project] 651b40: [DAG] visitABS - use FoldConstantArithmetic to per...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 21 10:23:50 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 651b4054a019cb681bb879e31a01054a3105ea90
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

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

  Log Message:
  [DAG] visitABS - use FoldConstantArithmetic to perform constant folding.

Avoid needing to perform extra isConstantIntBuildVectorOrConstantInt checks

More information about the All-commits mailing list