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

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 19 14:36:20 PDT 2017


Those couldn't be done generically, that's why the asserts were added.

-Krzysztof

On 7/19/2017 4:30 PM, Craig Topper wrote:
> What about the static asserts protecting a Log call and another in the 
> parser?
> 
> On Wed, Jul 19, 2017 at 2:26 PM Krzysztof Parzyszek 
> <kparzysz at codeaurora.org <mailto:kparzysz at codeaurora.org>> wrote:
> 
>     On 7/19/2017 4:18 PM, Craig Topper wrote:
>      > LaneMask isn't as self contained as it should be. 64 bits is enough
>      > here. The problem is accidental leaking of the current size.
>      >
>      > For example there was a hard coded compare with 32 in tablegen
>     until I
>      > fixed it recently.
> 
>     This is most likely the only example.  I actually tested it with
>     uint64_t (but without exceeding 32 lanes).
> 
>     -Krzysztof
> 
>     --
>     Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
>     hosted by The Linux Foundation
> 
> -- 
> ~Craig

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list