[PATCH] D38942: [DAG] Promote ADDCARRY / SUBCARRY

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 01:43:18 PST 2017


rogfer01 added inline comments.


================
Comment at: test/CodeGen/ARM/addsubcarry-promotion.ll:15
+; ARM: movw	r1, #65535
+; ARM: sxth	r2, r2
+; ARM: adc	r0, r2, #0
----------------
This is made redundant by the `tst` below (as it will mask the higher 16 bits) but I presume this has to be fixed elsewhere.


https://reviews.llvm.org/D38942





More information about the llvm-commits mailing list