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.