[llvm-commits] [llvm] r123530 - /llvm/trunk/docs/LangRef.html
Rafael Espindola
rafael.espindola at gmail.com
Sat Jan 15 00:20:57 PST 2011
Author: rafael
Date: Sat Jan 15 02:20:57 2011
New Revision: 123530
URL: http://llvm.org/viewvc/llvm-project?rev=123530&view=rev
Log:
Add a clarification about merging constants with and without unnamed_addr.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=123530&r1=123529&r2=123530&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sat Jan 15 02:20:57 2011
@@ -848,7 +848,10 @@
<p>Global variables can be marked with <tt>unnamed_addr</tt> which indicates
that the address is not significant, only the content. Constants marked
- like this can be merged if they have the same content.</p>
+ like this can be merged with other constants if they have the same
+ initializer. Note that a constant with significant address <em>can</em>
+ be merged with a <tt>unnamed_addr</tt> constant, the result being a
+ constant whose address is significant.</p>
<p>A global variable may be declared to reside in a target-specific numbered
address space. For targets that support them, address spaces may affect how
More information about the llvm-commits
mailing list