<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Please don't bake in knowledge *in LLVM* of a address space
unless there's a strong need. *Clang* can assign whatever meaning
to an AS it wishes, and their properties are configurable via data
layout configuration. <br>
</p>
<p>The standards of review are much lower for a Clang only change as
it can be revised arbitrarily without breaking other uses of
LLVM. Building in first class knowledge to LLVM itself is a
breaking change (potentially) for other frontends.<br>
</p>
<p>Philip<br>
</p>
<div class="moz-cite-prefix">On 7/22/19 1:19 PM, Reid Kleckner via
llvm-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACs=tyK-HZwfy2jo_g+63mtbq4ZAz2iMmc3JHZP0ujOv0x0=zA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Yes, the address spaces are intended to be generally useful
for other applications. Glad to hear that you would find it
useful. :)</div>
<div><br>
</div>
<div>For now we were only going to add them for x86, but it
should be easy to add such address spaces to other targets.<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jul 22, 2019 at 1:13
PM John Reagan via llvm-dev <<a
href="mailto:llvm-dev@lists.llvm.org" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Amy,
when you say "implement MSVC's extensions", is that MSVC/LLVM
or<br>
are you going to add these to clang? OpenVMS has dual-sized
pointers as<br>
well and want to see them in clang. One of my engineers
noticed that<br>
address space 4 was a 32-bit pointer address space (or at
least it used<br>
to be). I haven't seen any formal discussion of that over in
the cfe<br>
dev list. I'm happy to help out where we can.<br>
<br>
John<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
<a
href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
</body>
</html>