[FPEnv] A missing crucial step was undocumented.

llvm-svn: 364328
This commit is contained in:
Kevin P. Neal 2019-06-25 16:09:39 +00:00
parent a90fc6617f
commit d0f96be2c7
1 changed files with 8 additions and 0 deletions

View File

@ -81,6 +81,14 @@ be properly handled.::
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
However, the mutation may not happen if the new node has not been registered
in TargetLoweringBase::initActions(). If the corresponding non-STRICT node
is Legal but a target does not know about STRICT nodes then the STRICT
node will default to Legal and mutation will be bypassed with a "Cannot
select" error. Register the new STRICT node as Expand to avoid this bug.::
lib/CodeGen/TargetLoweringBase.cpp
To make debug logs readable it is helpful to update the SelectionDAG's
debug logger:::