[PATCH] D35192: [ARM] Use ADDCARRY / SUBCARRY

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 10:32:59 PDT 2017


efriedma added inline comments.


================
Comment at: lib/Target/ARM/ARMISelLowering.cpp:4014
+    Overflow = DAG.getNode(ARMISD::SUBC, dl, VTs,
+                           DAG.getConstant(1, dl, MVT::i32), Overflow);
+    break;
----------------
Could you use ISD::SUB here, rather than ARMISD::SUBC?


https://reviews.llvm.org/D35192





More information about the llvm-commits mailing list