[Mesa-dev] [Mesa-stable] [PATCH] radeonsi: add a workaround for bitfield_extract when count is 0

Matt Turner mattst88 at gmail.com
Tue Sep 25 08:59:33 UTC 2018


On Tue, Sep 25, 2018 at 8:50 AM Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> On 9/25/18 6:46 AM, Timothy Arceri wrote:
> > On 25/9/18 10:35 am, Marek Olšák wrote:
> >> Do you know what's broken in LLVM? Or is it a problem with the ISA?
> >
> > I haven't actually dug any further. Adding Samuel to see if he remembers
> > more.
> >
> > However according to the original bug report this is a regression when
> > going from LLVM 6 to LLVM 7. I see the issue on both polaris and vega.
>
> I didn't investigate either, it was just simpler to add a workaround in
> mesa than fixing LLVM.

Wow. Is debugging LLVM really that painful?

Looks like you're adding a permanent workaround to one half of your
driver because you don't want to fix the other half.


More information about the mesa-dev mailing list