[all-commits] [llvm/llvm-project] 42f001: [DAG] Constant fold + canonicalize integer binops ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Dec 17 04:02:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42f00106b7fea55495a89013ea6ba58e03ded936
      https://github.com/llvm/llvm-project/commit/42f00106b7fea55495a89013ea6ba58e03ded936
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

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

  Log Message:
  -----------
  [DAG] Constant fold + canonicalize integer binops before SimplifyVBinOp call

SimplifyVBinOp still has a FoldConstantArithmetic call, which now it isn't vector specific we should be able to remove (once fp binops are tidied up); but we can at least clean up the integer opcodes to perform the basic constant/undef handling in common code first.




More information about the All-commits mailing list