[LLVMdev] Modeling 16-bit pointer registers for an 8-bit target
Sanjiv.Gupta at microchip.com
Sanjiv.Gupta at microchip.com
Thu Aug 7 09:45:57 PDT 2008
>
> I don't think there is code in Legalizer to expand GlobalAddress. But
you
> can custom lower it. X86 custom lower GlobalAddress nodes for a
different
> reason.
>
> Evan
>
Hmmm...That means we have to make i16 as a legal type (since
GlobalAddresses are 16-bits) and custom lower all 16-bit operations to
8-bit operations. I was thinking to take advantage of the already
present ExpandOp infrastructure.
-Sanjiv
More information about the llvm-dev
mailing list