HomePhabricator

[FPEnv][SelectionDAG] Refactor strict FP node construction

Authored by uweigand on Nov 4 2019, 8:42 AM.

Description

[FPEnv][SelectionDAG] Refactor strict FP node construction

Small refactoring in visitConstrainedFPIntrinsic that should make
it easier to create DAG nodes requiring extra arguments. That is
the case currently only for STRICT_FP_ROUND, but may be the case
for additional nodes (in particular compares) in the future.

Extracted from the patch for D69281.

NFC.

Details

Committed
uweigandNov 4 2019, 8:45 AM
Parents
rG9ba16615fa07: [Sema] Make helper in TreeTransform.h 'inline' instead of 'static'. NFC
Branches
Unknown
Tags
Unknown