<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I'm not aware of any such restriction, and I know of several LLVM based systems that use address space 1 for something other than that.<br><br>-Owen</div><div><br>On Jan 7, 2015, at 1:18 PM, Philip Reames <<a href="mailto:listmail@philipreames.com">listmail@philipreames.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
On the review for <a class="moz-txt-link-freetext" href="http://reviews.llvm.org/D6808">http://reviews.llvm.org/D6808</a>, <a href="http://reviews.llvm.org/p/majnemer/" class="phui-handle
phui-link-person">majnemer</a> commented that:<br>
<span class="transaction-comment" data-sigil="transaction-comment" data-meta="14_7">"Address space 1 has a special meaning in LLVM,
it's identical to address space 0 except for the fact that "null"
may be dereferenced. You might want to consider a different
address space."<br>
<br>
This is the first I've heard of this and I can't find any
documentation about it being reserved, either in general, or
specifically for x86. Can anyone clarify?<br>
<br>
The only address spaces with special meanings I know of are:<br>
- 0 (the normal address space, null is not dereferencable)<br>
- 256 - TLS, GS relative addressing<br>
- 257 - FS relative addressing<br>
<br>
Philip<br>
</span>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>LLVM Developers mailing list</span><br><span><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a></span><br><span><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a></span><br></div></blockquote></body></html>