HomePhabricator

[TargetLowering] Simplify expansion of S{ADD,SUB}O

Authored by rogfer01 on Sep 30 2019, 12:58 AM.

Description

[TargetLowering] Simplify expansion of S{ADD,SUB}O

ISD::SADDO uses the suggested sequence described in the section §2.4 of
the RISCV Spec v2.2. ISD::SSUBO uses the dual approach but checking for
(non-zero) positive.

Differential Revision: https://reviews.llvm.org/D47927

llvm-svn: 373187

Details

Committed
rogfer01Sep 30 2019, 12:58 AM
Differential Revision
D47927: [TargetLowering] Simplify expansion of S{ADD,SUB}O
Parents
rGb3438f1cc040: [ARM][CGP] Allow signext arguments
Branches
Unknown
Tags
Unknown