[llvm-dev] Deprecating ADDC/ADDE/SUBC/SUBE

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Wed May 30 11:16:55 PDT 2018


On 5/30/2018 10:29 AM, Krzysztof Parzyszek via llvm-dev wrote:
> For targets where ADDCARRY and SUBCARRY are legal, would it make sense 
> to expand ADDC/UADDO/ADDE/etc. into ADDCARRY (and same for sub)?

SelectionDAG will never generate ADDC/ADDE on targets where they aren't 
legal.  Targets which custom-lower ADDCARRY generally also custom-lower 
UADDO; not sure what sort of expansion you're thinking of.

-Eli

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project



More information about the llvm-dev mailing list