[llvm-commits] CVS: llvm/docs/LangRef.html

Chris Lattner sabre at nondot.org
Sat Jan 13 16:27:25 PST 2007



Changes in directory llvm/docs:

LangRef.html updated: 1.194 -> 1.195
---
Log message:

add a global variable example


---
Diffs of the changes:  (+8 -1)

 LangRef.html |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletion(-)


Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.194 llvm/docs/LangRef.html:1.195
--- llvm/docs/LangRef.html:1.194	Fri Jan 12 13:20:46 2007
+++ llvm/docs/LangRef.html	Sat Jan 13 18:27:09 2007
@@ -616,6 +616,13 @@
 global is forced to have at least that much alignment.  All alignments must be
 a power of 2.</p>
 
+<p>For example, the following defines a global with an initializer, section,
+   and alignment:</p>
+
+<pre>
+  %G = constant float 1.0, section "foo", align 4
+</pre>
+
 </div>
 
 
@@ -4480,7 +4487,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2007/01/12 19:20:46 $
+  Last modified: $Date: 2007/01/14 00:27:09 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list