[Mesa-dev] [PATCH] radeonsi: add a workaround for a bug in LLVM <= 3.8

Marek Olšák maraeo at gmail.com
Wed May 18 17:04:32 UTC 2016


On Wed, May 18, 2016 at 6:41 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 18.05.2016 11:13, Marek Olšák wrote:
>>
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> This is not directly applicable to stable and needs to be backported.
>
>
> This is because LLVM gets confused / misled about SGPRs vs. VGPRs, right?
> It's unfortunate, but I see no better way, so...

Yes, SI & CIK hang because "buffer_load_dword addr64" is used to load
a descriptor and then image_load has VGPRs as inputs where only SGPRs
are allowed.

VI crashes because "buffer_load_dword addr64" is an unsupported instruction.

Marek


More information about the mesa-dev mailing list