summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorKevin P. Neal <kevin.neal@sas.com>2019-06-25 16:09:39 +0000
committerKevin P. Neal <kevin.neal@sas.com>2019-06-25 16:09:39 +0000
commitd0f96be2c7816ac1a8297930fe2055075c09713e (patch)
tree7c5e278564727a682ed1f4924e85d51febd586b0 /llvm/docs
parenta90fc6617fb5df0d07956d08cbc300dca5924680 (diff)
downloadbcm5719-llvm-d0f96be2c7816ac1a8297930fe2055075c09713e.tar.gz
bcm5719-llvm-d0f96be2c7816ac1a8297930fe2055075c09713e.zip
[FPEnv] A missing crucial step was undocumented.
llvm-svn: 364328
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/AddingConstrainedIntrinsics.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/docs/AddingConstrainedIntrinsics.rst b/llvm/docs/AddingConstrainedIntrinsics.rst
index 672ce31f52a..9e715194032 100644
--- a/llvm/docs/AddingConstrainedIntrinsics.rst
+++ b/llvm/docs/AddingConstrainedIntrinsics.rst
@@ -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:::
OpenPOWER on IntegriCloud