[LLVMdev] Declare multiple data type for a register class in tblegen

Xiaochu Liu xiaochu1122 at gmail.com
Fri Jul 3 00:55:34 PDT 2015


Thanks. I'm gonna try tomorrow and let you know.

On Thu, Jul 2, 2015 at 6:51 PM Matt Arsenault <Matthew.Arsenault at amd.com>
wrote:

> On 07/02/2015 06:41 PM, Xiaochu Liu wrote:
> > Hi Matt,
> >
> > I did call addRegisterClass in TargetLowering for all the possible
> > types in the register. And for typecasting instructions (i32 to i64),
> > it works. Any other possiblilities?
> Try looking at the output of -debug-only=isel and see where the load is
> getting split up. The load isn't reaching instruction selection for your
> pattern to do anything
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150703/a80fd298/attachment.html>


More information about the llvm-dev mailing list