[Mesa-dev] [PATCH] swr: bump minimum supported LLVM version to 5.0

Marek Olšák maraeo at gmail.com
Tue Jun 26 20:49:52 UTC 2018


On Tue, Jun 26, 2018 at 12:47 PM, Michel Dänzer <michel at daenzer.net> wrote:
> On 2018-06-26 06:37 PM, Marek Olšák wrote:
>> On Tue, Jun 26, 2018, 4:26 AM Michel Dänzer <michel at daenzer.net> wrote:
>>
>>> On 2018-06-26 03:49 AM, Marek Olšák wrote:
>>>> Good timing. I have a patch that removes LLVM 5.0 support from AMD
>>>> Mesa drivers. :)
>>>
>>> Keep in mind that we have to support at least two major versions of
>>> LLVM, otherwise we force our users to upgrade Mesa and LLVM in lockstep,
>>> which can be painful.
>>>
>>
>> I'd like us to drop LLVM 6.0 support after 7.0 is released to remove the
>> codepath without 32bit pointers. I'm sure users will be fine and it will
>> move them to a better and faster version of the compiler.
>
> I very much doubt distribution packagers would be happy about this. Have
> they indicated otherwise to you?

I assume they update LLVM alongside Mesa. Ubuntu 18.10 is likely to
ship LLVM 6, but around the same timeframe I plan to drop LLVM 6
support. We'll have to bump the LLVM version for future chips anyway.

Right now, any change around SGPR pointers requires 4 piglit runs to
check for regressions: (VI + GFX9) * (LLVM6 + LLVM7). The chance that
some of those will get broken horribly is very high.

Marek


More information about the mesa-dev mailing list