[PATCH] D109586: [ARM] Fold ARMISD::ADDC with no carry uses to ISD::ADD

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 03:24:26 PDT 2021


dmgreen planned changes to this revision.
dmgreen added a comment.

I missed a couple of tests here, where uadd.sat is a little worse now as it does not realize it can fold conditions any more after creating add, as opposed to adds.

In the meantime, before that is fixed, I've put a simpler fix in a2332d5332c3ede49adf1c71481e9efab7ca88c7 <https://reviews.llvm.org/rGa2332d5332c3ede49adf1c71481e9efab7ca88c7> to prevent the infinite combining.


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

https://reviews.llvm.org/D109586



More information about the llvm-commits mailing list