[llvm] r244554 - Update the syntax for load instruction in this example.

Nick Lewycky via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 18:05:16 PDT 2015


Author: nicholas
Date: Mon Aug 10 20:05:16 2015
New Revision: 244554

URL: http://llvm.org/viewvc/llvm-project?rev=244554&view=rev
Log:
Update the syntax for load instruction in this example.

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=244554&r1=244553&r2=244554&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Mon Aug 10 20:05:16 2015
@@ -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:
 




More information about the llvm-commits mailing list