[FPEnv][SelectionDAG] Refactor strict FP node construction
commit664f84e246478db82be2871f36fd1a523d9f2731
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 4 Nov 2019 16:42:32 +0000 (4 17:42 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 4 Nov 2019 16:45:54 +0000 (4 17:45 +0100)
treed4835d53f2455a8fcc67100a7270f4ad05079421
parent9ba16615fa07c586965b1fa2dc6e88f13fe8031d
[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.
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp