[DAG] Expose NoSignedWrap, NoUnsignedWrap and Exact flags to SelectionDAG.

Description

[DAG] Expose NoSignedWrap, NoUnsignedWrap and Exact flags to SelectionDAG.

This patch modifies SelectionDAGBuilder to construct SDNodes with associated
NoSignedWrap, NoUnsignedWrap and Exact flags coming from IR BinaryOperator
instructions.

Added a new SDNode type called 'BinaryWithFlagsSDNode' to allow accessing
nsw/nuw/exact flags during codegen.

Patch by Marcello Maggioni.

Details

Committed
adibiagioJun 9 2014, 5:32 AM
Parents
rL210466: [X86] Use ADD/SUB instead of INC/DEC for Silvermont
Branches
Unknown
Tags
Unknown