summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-03-17 23:16:18 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-03-17 23:16:18 +0000
commit4873056ced0668da98202215d375c7c51682d5eb (patch)
tree367f5ffd7c362011d9a04f48583f145443f37365 /llvm/docs
parent04cc28fe1330b43f21294134f4243771221a7943 (diff)
downloadbcm5719-llvm-4873056ced0668da98202215d375c7c51682d5eb.tar.gz
bcm5719-llvm-4873056ced0668da98202215d375c7c51682d5eb.zip
Remove immarg from llvm.expect
The LangRef claimed this was required to be a constant, but this appears to be wrong. Fixes bug 41079. llvm-svn: 356353
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 009f8554aef..fcea8a482a7 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -15819,8 +15819,7 @@ Arguments:
""""""""""
The ``llvm.expect`` intrinsic takes two arguments. The first argument is
-a value. The second argument is an expected value, this needs to be a
-constant value, variables are not allowed.
+a value. The second argument is an expected value.
Semantics:
""""""""""
OpenPOWER on IntegriCloud