https://bugs.freedesktop.org/show_bug.cgi?id=100068
Bug ID: 100068 Summary: LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: 375gnu@gmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 130077 --> https://bugs.freedesktop.org/attachment.cgi?id=130077&action=edit check for proper llvm version
I have mesa today's snapshot build against llvm 3.9.1.
When glxgears is started it aborts with the message:
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format
It looks like this intrinsic is supported with llvm 4.0 and higher, as when mesa is build against llvm 4.0 apps work as expected.
A simple patch to fix this error is attached.
https://bugs.freedesktop.org/show_bug.cgi?id=100068
Dave Airlie airlied@freedesktop.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #1 from Dave Airlie airlied@freedesktop.org --- Fixed thanks for testing/patch.
https://bugs.freedesktop.org/show_bug.cgi?id=100068
--- Comment #2 from Wojciech Pyczak nissarin@gmail.com --- Created attachment 130081 --> https://bugs.freedesktop.org/attachment.cgi?id=130081&action=edit Unigine Heaven output
Looks like it's not all, glxgears works fine though.
https://bugs.freedesktop.org/show_bug.cgi?id=100068
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #130081|text/x-log |text/plain mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=100068
--- Comment #3 from Hleb Valoshka 375gnu@gmail.com --- (In reply to Wojciech Pyczak from comment #2)
Created attachment 130081 [details] Unigine Heaven output
Looks like it's not all, glxgears works fine though.
Looks like Marek has found a correct solution:
https://lists.freedesktop.org/archives/mesa-dev/2017-March/146693.html
dri-devel@lists.freedesktop.org