[LLVMdev] [cfe-dev] named address spaces
Chris Lattner
clattner at apple.com
Fri Oct 16 21:05:16 PDT 2009
On Oct 16, 2009, at 2:30 PM, Juan Carlos Martinez Santos wrote:
> Hello,
>
> If I want implement other address spaces (for x86), can I modify my
> back-end (clang) to support other address spaces (at least two data
> segments, two heaps, and two stacks?
>
> How will be the mechanism? For example, for256/257, I see two
> reference points (FS and GP). Would I need to specify a different
> reference to each memory region? Where is the best site to add the
> modifications?
I don't know what changes you'll need off hand. I think you just
refer to them (assigning a magic number) and handle them as the come
through the IR.
-Chris
More information about the llvm-dev
mailing list