From ad12f71abc7095219608cb5ccfbcb65a328c54eb Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 11 Aug 2015 01:05:16 +0000 Subject: [PATCH] Update the syntax for load instruction in this example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244554 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 1390fe993a1..38e8fe2b201 100644 --- a/docs/LangRef.rst +++ b/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: -- 2.34.1