From 2faa0f37c2b2a7086f494c1d36bd07e0cb0042c5 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Wed, 6 Mar 2013 18:24:34 +0000 Subject: Remove tailing whitespaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176570 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/LangRef.rst') diff --git a/docs/LangRef.rst b/docs/LangRef.rst index c08cee1dbd..c700a20c25 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -148,20 +148,20 @@ symbol table entries. Here is an example of the "hello world" module: .. code-block:: llvm - ; Declare the string constant as a global constant. - @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00" + ; Declare the string constant as a global constant. + @.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00" - ; External declaration of the puts function - declare i32 @puts(i8* nocapture) nounwind + ; External declaration of the puts function + declare i32 @puts(i8* nocapture) nounwind ; Definition of main function - define i32 @main() { ; i32()* - ; Convert [13 x i8]* to i8 *... + define i32 @main() { ; i32()* + ; Convert [13 x i8]* to i8 *... %cast210 = getelementptr [13 x i8]* @.str, i64 0, i64 0 - ; Call puts function to write out the string to stdout. + ; Call puts function to write out the string to stdout. call i32 @puts(i8* %cast210) - ret i32 0 + ret i32 0 } ; Named metadata @@ -2537,10 +2537,10 @@ guaranteed to be separate for each loop. The loop-level metadata is prefixed with ``llvm.loop``. The loop identifier metadata is implemented using a metadata that refers to -itself to avoid merging it with any other identifier metadata, e.g., -during module linkage or function inlining. That is, each loop should refer -to their own identification metadata even if they reside in separate functions. -The following example contains loop identifier metadata for two separate loop +itself to avoid merging it with any other identifier metadata, e.g., +during module linkage or function inlining. That is, each loop should refer +to their own identification metadata even if they reside in separate functions. +The following example contains loop identifier metadata for two separate loop constructs: .. code-block:: llvm @@ -2829,7 +2829,7 @@ For example, the following metadata section specifies two separate sets of linker options, presumably to link against ``libz`` and the ``Cocoa`` framework:: - !0 = metadata !{ i32 6, metadata !"Linker Options", + !0 = metadata !{ i32 6, metadata !"Linker Options", metadata !{ metadata !{ metadata !"-lz" }, metadata !{ metadata !"-framework", metadata !"Cocoa" } } } @@ -3997,7 +3997,7 @@ Example: = lshr i32 4, 1 ; yields {i32}:result = 2 = lshr i32 4, 2 ; yields {i32}:result = 1 = lshr i8 4, 3 ; yields {i8}:result = 0 - = lshr i8 -2, 1 ; yields {i8}:result = 0x7FFFFFFF + = lshr i8 -2, 1 ; yields {i8}:result = 0x7FFFFFFF = lshr i32 1, 32 ; undefined = lshr <2 x i32> < i32 -2, i32 4>, < i32 1, i32 2> ; yields: result=<2 x i32> < i32 0x7FFFFFFF, i32 1> -- cgit v1.2.3