[LLVMdev] Status of getPointerSize()/getPointerTy() per address space?

Micah Villmow micah.villmow at smachines.com
Thu Jul 25 16:42:11 PDT 2013


It should just be enough to specify the data layout string.

Micah

From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Justin Holewinski
Sent: Thursday, July 25, 2013 12:59 PM
To: Matt Arsenault
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Status of getPointerSize()/getPointerTy() per address space?

Awesome!  What will the requirements be for the target?  Is it sufficient to just override getPointerTy and add appropriate data layout strings, or will more hooks be needed?

On Thu, Jul 25, 2013 at 3:41 PM, Matt Arsenault <arsenm2 at gmail.com<mailto:arsenm2 at gmail.com>> wrote:

On Jul 25, 2013, at 12:33 , Justin Holewinski <justin.holewinski at gmail.com<mailto:justin.holewinski at gmail.com>> wrote:

> Looking through recent additions, it looks like the infrastructure exists for targets to specify a per-address-space pointer size/type, but this does not seem to be used anywhere (SelectionDAGBuilder, legalizer, etc.).  What is the status of this support?  Is anyone actively working on it?
>
I'm actively working on this. I think I have most of the target independent parts ready that I'm gradually sending through review. I haven't looked at what needs to be done in SelectionDAG yet.



--
Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130725/c88b430e/attachment.html>


More information about the llvm-dev mailing list