HomePhabricator

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

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

Details

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