[PATCH] D98704: [AArch64] Don't perform SetccAddFolding with 2 SET_CC operands

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 13:03:03 PDT 2021


dmgreen added a comment.

Should we be generating:

  cmp
  cset
  cmp
  csinc

That lets the csinc do the add, if it's only going to be adding 0/1.  Maybe that's possible with an extra isel pattern from add(cset(..))?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98704/new/

https://reviews.llvm.org/D98704



More information about the llvm-commits mailing list