[all-commits] [llvm/llvm-project] 56ff91: [ARM] Limit and+csinc fold to a single use.

David Green via All-commits all-commits at lists.llvm.org
Wed Jan 11 08:49:34 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56ff9168611b98c372af03f7722ef23c3e6a93ed
  Author: David Green <david.green at arm.com>
  Date:   2023-01-11 (Wed, 11 Jan 2023)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrThumb2.td
    M llvm/test/CodeGen/Thumb2/csel-andor-onebit.ll

  Log Message:
  [ARM] Limit and+csinc fold to a single use.

With glue nodes between the CMP and the CSINC, generating multiple
uses of the CMP can fail when scheduling the DAG. This limits the fold
from 90f24bef47227d58f2ccd to a single use on the CSINC, to prevent the
CMP being needed by two nodes.

More information about the All-commits mailing list