HomePhabricator

Add SDNodes for umin, umax, smin and smax.

Description

Add SDNodes for umin, umax, smin and smax.

This adds new SDNodes for signed/unsigned min/max. These nodes are built from
select/icmp pairs matched at SDAGBuilder stage.

This patch adds the nodes, as well as legalization support and sets them to
be "expand" for all targets.

NFC for now; this will be tested when I switch AArch64 to using these new
nodes.

Details

Committed
jamesmMay 15 2015, 2:03 AM
Parents
rL237422: [OPENMP] Fixed bug in atomic update/capture/write constructs.
Branches
Unknown
Tags
Unknown