Update the syntax for load instruction in this example.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 11 Aug 2015 01:05:16 +0000 (01:05 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 11 Aug 2015 01:05:16 +0000 (01:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244554 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index 1390fe993a138bd533128fb46e9ccf65d82b8b00..38e8fe2b2014901311f623db9bb597b58fb788af 100644 (file)
@@ -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: