summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-08-11 01:05:16 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-08-11 01:05:16 +0000
commit149d04c29a7bb86df5c6fcfaee90098db2e3c9dd (patch)
tree5eff34ce3dd2d068ff7062901c5d3585b8bc5a7c /llvm/docs/LangRef.rst
parent233773837e3375b45d82045299e0cc3ed6bef082 (diff)
downloadbcm5719-llvm-149d04c29a7bb86df5c6fcfaee90098db2e3c9dd.tar.gz
bcm5719-llvm-149d04c29a7bb86df5c6fcfaee90098db2e3c9dd.zip
Update the syntax for load instruction in this example.
llvm-svn: 244554
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 1390fe993a1..38e8fe2b201 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -6804,7 +6804,7 @@ Example:
%ptr = alloca i32 ; yields i32*:ptr
store i32 3, i32* %ptr ; yields void
- %val = load i32* %ptr ; yields i32:val = i32 3
+ %val = load i32, i32* %ptr ; yields i32:val = i32 3
.. _i_fence:
OpenPOWER on IntegriCloud