[PATCH] D114013: [ARM] Fold away unnecessary CSET/CMPZ
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 02:58:39 PST 2021
SjoerdMeijer accepted this revision.
SjoerdMeijer added a comment.
This revision is now accepted and ready to land.
Okidoki, cheers, LGTM
================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.cpp:14488
+// Check that N is CMPZ(CSINC(0, 0, CC, X)), return X if valid.
+static SDValue IsCMPZCSINC(SDNode *Cmp, ARMCC::CondCodes &CC) {
----------------
Nit: N -> Cmp
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114013/new/
https://reviews.llvm.org/D114013
More information about the llvm-commits
mailing list