[all-commits] [llvm/llvm-project] afdaa8: [DAGCombine] Extend combineCarryDiamond()

Paweł Bylica via All-commits all-commits at lists.llvm.org
Wed Feb 23 12:39:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afdaa86b771f9fa7bcf3ac273ae6f9637943c0d1
      https://github.com/llvm/llvm-project/commit/afdaa86b771f9fa7bcf3ac273ae6f9637943c0d1
  Author: Pawe Bylica <chfast at gmail.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/addcarry.ll

  Log Message:
  -----------
  [DAGCombine] Extend combineCarryDiamond()

In combineCarryDiamond() use getAsCarry() to find more candidates for being a carry flag.

Reviewed By: RKSimon

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




More information about the All-commits mailing list