[LLVMdev] 32bit pointers on a (pure) 64bit architecture
Jeroen Dobbelaere
jeroen.dobbelaere at gmail.com
Fri Apr 4 08:37:13 PDT 2014
On Fri, Apr 4, 2014 at 5:19 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> [..]
> > Is this difference indeed what we would need to expect at this level
> > ?
> > - should we learn the selection dag creator to use the first larger
> > or equal valid type (i64) here ?
> >
> > - or should we make sure that the legalization phase accepts the mix
> > of types that is produced in that case ?
>
> Is i32 a legal type? In the PowerPC backend, in 64-bit mode, we have
> 32-bit subregisters of the 64-bit registers, and both i32 and i64 are legal
> types. I suspect that if you do something similar, things will work for you.
>
> -Hal
>
>
On this architecture, i32 is _not_ a legal type. I can take a look at that,
but I was trying to avoid it :(.
Greetings,
--
Jeroen Dobbelaere
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140404/b93eba70/attachment.html>
More information about the llvm-dev
mailing list