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

Matt Arsenault Matthew.Arsenault at amd.com
Thu Jul 2 18:50:50 PDT 2015


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





More information about the llvm-dev mailing list