[all-commits] [llvm/llvm-project] 385e9a: [DAGCombiner] Improve shift by select of constant

laytonio via All-commits all-commits at lists.llvm.org
Thu Dec 17 18:28:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 385e9a2a047bc0bee13a21a9016763e694a686a3
      https://github.com/llvm/llvm-project/commit/385e9a2a047bc0bee13a21a9016763e694a686a3
  Author: Layton Kifer <laytonkifer at gmail.com>
  Date:   2020-12-18 (Fri, 18 Dec 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/select_const.ll
    M llvm/test/CodeGen/PowerPC/select_const.ll
    M llvm/test/CodeGen/X86/dagcombine-select.ll

  Log Message:
  -----------
  [DAGCombiner] Improve shift by select of constant

Clean up a TODO, to support folding a shift of a constant by a
select of constants, on targets with different shift operand sizes.

Reviewed By: RKSimon, lebedev.ri

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




More information about the All-commits mailing list