[PATCH] D62392: [DAGCombine][ARM] (sub Carry, X) -> (addcarry (sub 0, X), 0, Carry) fold

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 24 16:00:03 PDT 2019


efriedma added a comment.

I mean, we basically need two methods: getAsAddCarry (carry produced by UADDO/ADDCARRY) and getAsSubCarry (carry produced by USUBO/SUBCARRY), depending on how you're planning to use the carry bit, so we don't end up with same sort of mismatch we ran into before on ARM.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62392





More information about the llvm-commits mailing list