|Summary:||LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format|
|Product:||Mesa||Reporter:||Hleb Valoshka <375gnu>|
|Component:||Drivers/Gallium/radeonsi||Assignee:||Default DRI bug account <dri-devel>|
|Status:||RESOLVED FIXED||QA Contact:||Default DRI bug account <dri-devel>|
|i915 platform:||i915 features:|
check for proper llvm version
Unigine Heaven output
Description Hleb Valoshka 2017-03-05 19:04:12 UTC
Created attachment 130077 [details] [review] 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.
Comment 1 Dave Airlie 2017-03-05 20:07:55 UTC
Fixed thanks for testing/patch.
Comment 2 Wojciech Pyczak 2017-03-05 21:29:20 UTC
Created attachment 130081 [details] Unigine Heaven output Looks like it's not all, glxgears works fine though.
Comment 3 Hleb Valoshka 2017-03-06 08:31:51 UTC
(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