[all-commits] [llvm/llvm-project] e20919: [SDAG] enable binop identity constant folds for mu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Mar 25 04:07:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e209190c2d96a8bde115c7155f099d344c456b5b
      https://github.com/llvm/llvm-project/commit/e209190c2d96a8bde115c7155f099d344c456b5b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/midpoint-int-vec-128.ll
    M llvm/test/CodeGen/X86/midpoint-int-vec-256.ll
    M llvm/test/CodeGen/X86/midpoint-int-vec-512.ll
    M llvm/test/CodeGen/X86/vector-bo-select.ll

  Log Message:
  -----------
  [SDAG] enable binop identity constant folds for multiplies

Add mul to the list of ops that we canonicalize with a select to expose an identity merge

Differential Revision: https://reviews.llvm.org/D122071




More information about the All-commits mailing list