[all-commits] [llvm/llvm-project] f60272: [DAG] Constant fold + canonicalize fp binops befor...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Dec 17 09:03:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f602723bfa71c0a82d539b37badc73511045c7ea
      https://github.com/llvm/llvm-project/commit/f602723bfa71c0a82d539b37badc73511045c7ea
  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 fp binops before SimplifyVBinOp call

Replace custom constant scalar/splat folding with FoldConstantArithmetic call and canonicalize commutative constant ops to the RHS before the SimplifyVBinOp call




More information about the All-commits mailing list