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

Michel Dänzer michel at daenzer.net
Wed Jun 27 08:21:02 UTC 2018


On 2018-06-26 10:49 PM, Marek Olšák wrote:
> 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.

Please talk to them, don't assume. The more likely outcome is the Mesa
update getting delayed until everything else is ready for updating LLVM.


> We'll have to bump the LLVM version for future chips anyway.

Those chips just can't be supported if LLVM is too old. We've done that
before.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list