<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I mean the address space that LLVM supports. Is there a way to identify thread local variables? I will later use a codegen pass to make use of address spaces.<div><br></div><div>Erdem<br><br><div><hr id="stopSpelling">Date: Wed, 14 Oct 2015 16:47:16 +0100<br>Subject: Re: [llvm-dev] Changing address space<br>From: mats@planetcatfish.com<br>To: erdemderebasoglu@hotmail.com<br>CC: llvm-dev@lists.llvm.org<br><br><div dir="ltr"><div><div>Do you mean the conceptual address space that LLVM supports, or some kind of "address space" in an OS/Executable kind of sense?<br><br></div>LLVM has support for address spaces, so shouldn't be very hard to achieve this as a "pass" (assuming you can identify TL variables in the first place). <br><br>Obviously at some later stage the address space needs to be taken into account in the code-gen to machine code, as well, which is a slightly different matter.<br><br>--<br></div>Mats<br></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On 14 October 2015 at 15:14, Erdem Derebažošlu <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr">Dear all,<div><br></div><div>I would like to store thread local variables in a different address space than global variables in an OpenMP program. Is it possible to do it using LLVM (perhaps with an optimization pass)?</div><div><br></div><div>Erdem Derebasoglu</div>                                         </div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div></div></div>                                           </div></body>
</html>