[LLVMdev] Type Legalizer Question.
sanjiv gupta
sanjiv.gupta at microchip.com
Thu Oct 2 02:01:55 PDT 2008
>
> So you have a i16 register class which makes the type legal. You can
> make loads and stores legal (can you?). But you will have to custom
> lower all other i16 operations. This will work, but it requires a lot
> of target specific code.
True. If we add the i16 reg class we will need to write a lot of target specific code.
To avoid that our idea was not to tell the legalizer about the i16 regclass and let it expand everything but ignore the pointers.
- Sanjiv
> >
> >
> >
> >
> >
> >> Ciao,
> >>
> >> Duncan.
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list