[Mesa-dev] [Bug 106922] Tangrams demo: LLVM ERROR: Cannot select: 0x7e8d8750: i16 = bitcast 0x7e8d8af8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 14 21:46:28 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106922

--- Comment #3 from Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> ---
So top level is a f32 -> i16 bitcast:

Cannot select: 0x7e8d8750: i16 = bitcast 0x7e8d8af8

which is not allowed. Is in LLVM source:

%76 = call float @llvm.amdgcn.buffer.load.f32(<4 x i32> %75, i32 0, i32 %74, i1
false, i1 false) #3
  %77 = bitcast float %76 to i16

Happens in the nir:

vec1 16 ssa_115 = intrinsic load_ssbo (ssa_113, ssa_114) () ()

I'm really inclined to say it is our lacking 16-bit support.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180614/26629471/attachment.html>


More information about the mesa-dev mailing list