[llvm-dev] Receiving LLVM Error in Custom Backend

Mush Yien via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 9 09:28:08 PDT 2016


Hi Ryan,

I am trying, but am not sure I am doing it right.  I am having a problem
understanding the error tbh, is it complaining that the load instruction is
not being matched? or that i16 is not defined?  I can't seem to get my head
around the specific error :S


On Wed, Sep 7, 2016 at 6:39 PM, Ryan Taylor <ryta1203 at gmail.com> wrote:

> R u trying to match this pattern in table gen?
>
> On Sep 7, 2016 12:12, "Mush Yien via llvm-dev" <llvm-dev at lists.llvm.org>
> wrote:
>
>> Hi,
>>
>> I am receiving an LLVM Error from a custom 16-bit backend I am creating.
>> I am having trouble understanding the error/problem and how to go about
>> solving it.  The error is:
>>
>> LLVM ERROR: Cannot select: t29: i32,ch = load<LD2[%x.addr], anyext from
>> i16> t14, FrameIndex:i16<0>, undef:i16
>>   t7: i16 = FrameIndex<0>
>>   t9: i16 = undef
>> In function: mul_add
>>
>>
>> Can anyone provide any pointers as to what the problem is and potential
>> places I should look to fix it?
>>
>> Thanks and best regards,
>>
>> Mush
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160909/6b3100ec/attachment.html>


More information about the llvm-dev mailing list