[llvm-dev] error:Ran out of lanemask bits to represent subregister

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 14 10:16:52 PDT 2017


This error indicates that its trying to create a lane mask larger than 32
bits. Without seeing all of your subregister definitions I can't tell if
that's correct of if there's something wrong with your register definitions.

If it is correct then you need to change all the associated LaneMask code
in CodeGenRegisters.cpp, include/llvm/MC/LaneBitMask.h and probably
elsewhere to use a larger type than "unsigned" or "uint32_t".

~Craig

On Fri, Jul 14, 2017 at 10:09 AM, Tim Northover <t.p.northover at gmail.com>
wrote:

> Your first post was 6 hours ago and you've pinged it twice. That's too
> frequent, the generally accepted ping rate on llvm lists is once per week.
>
> Tim.
>
> On Jul 14, 2017 1:07 PM, "hameeza ahmed via llvm-dev" <
> llvm-dev at lists.llvm.org> wrote:
>
>> please tell me how to solve this lanemask bits issue?
>>
>> how to increase lanemask bits?
>>
>> On Fri, Jul 14, 2017 at 8:33 PM, hameeza ahmed <hahmed2305 at gmail.com>
>> wrote:
>>
>>>
>>> Hello,
>>> i am trying to construct a register of size 65536 bit by combining 2
>>> registers of 32768 bits. both the 32768 bit registers are different so i
>>> have to use the following method
>>>
>>> let SubRegIndices = [sub_32768bit, sub_32768bit_hi], CoveredBySubRegs =
>>> 1 in
>>>
>>> but i am getting following error..
>>>
>>> error:Ran out of lanemask bits to represent subregister
>>> sub_32768bit_hi_then_sub_16384bit_hi_then_sub_32bit
>>>
>>> now how to increase lanemask bits? what changes are required
>>> in IntrinsicEmitter.cpp file??
>>>
>>> Please reply.
>>>
>>>
>>>
>>
>> _______________________________________________
>> 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/20170714/0c525f60/attachment.html>


More information about the llvm-dev mailing list