[llvm-dev] Changing address space
Erdem Derebaşoğlu via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 14 12:38:30 PDT 2015
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.
Erdem
Date: Wed, 14 Oct 2015 16:47:16 +0100
Subject: Re: [llvm-dev] Changing address space
From: mats at planetcatfish.com
To: erdemderebasoglu at hotmail.com
CC: llvm-dev at lists.llvm.org
Do you mean the conceptual address space that LLVM supports, or some kind of "address space" in an OS/Executable kind of sense?
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).
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.
--
Mats
On 14 October 2015 at 15:14, Erdem Derebaşoğlu <llvm-dev at lists.llvm.org> wrote:
Dear all,
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)?
Erdem Derebasoglu
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151014/bcaf3842/attachment.html>
More information about the llvm-dev
mailing list