aboutsummaryrefslogtreecommitdiffstats
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-24 22:15:58 +0000
committerDan Gohman <gohman@apple.com>2010-04-24 22:15:58 +0000
commit698cbcb0a4a181d49eca2d6a098e47eef0db96d8 (patch)
treef38198a563dca82feda1eaac22c7b7fe94af486e /docs/LangRef.html
parent1f048649e357c71958ea5cdf0ae7a66ac1290dbf (diff)
downloadexternal_llvm-698cbcb0a4a181d49eca2d6a098e47eef0db96d8.zip
external_llvm-698cbcb0a4a181d49eca2d6a098e47eef0db96d8.tar.gz
external_llvm-698cbcb0a4a181d49eca2d6a098e47eef0db96d8.tar.bz2
PHI nodes also do not necessarily return trap with a trap operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index ac28107..1142e92 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2313,8 +2313,8 @@ has undefined behavior.</p>
effects has nevertheless detected a condition which results in undefined
behavior.<p>
-<p>Any non-void instruction or constant expression other than non-intrinsic
- calls or invokes with a trap operand has trap as its result value.
+<p>Any non-void instruction or constant expression other than a non-intrinsic
+ call, invoke, or phi with a trap operand has trap as its result value.
Any instruction with a trap operand which may have side effects emits
those side effects as if it had an undef operand instead.</p>