[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:05:00 UTC 2018


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

            Bug ID: 106922
           Summary: Tangrams demo: LLVM ERROR: Cannot select: 0x7e8d8750:
                    i16 = bitcast 0x7e8d8af8
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: haagch at frickel.club
        QA Contact: mesa-dev at lists.freedesktop.org

RX 480
mesa radv 41dabdc4753
llvm 7svn 165520

The demo is for windows only and I think closed source but it runs well with
the most recent amdvlk. On radv it crashes.
You can get it here: http://www.pouet.net/prod.php?which=76464

Make a 64 bit wine prefix, run wine64 Tangrams.exe, click demo and it
immediately crashes with this message:

LLVM ERROR: Cannot select: 0x7e8d8750: i16 = bitcast 0x7e8d8af8
  0x7e8d8af8: f32,ch = BUFFER_LOAD<(dereferenceable load 4 from custom
TargetCustom7, align 1, addrspace 4)> 0x7d433f78, 0x7e8d7430, Constant:i32<0>,
0x7e8d7638, Constant:i1<0>, Constant:i1<0>
    0x7e8d7430: v4i32,ch = load<(dereferenceable invariant load 16 from %ir.56,
addrspace 6)> 0x7d433f78, 0x7e8d72f8, undef:i32
      0x7e8d72f8: i32 = add 0x7e8ce2c8, Constant:i32<48>
        0x7e8ce2c8: i32,ch = CopyFromReg 0x7d433f78, Register:i32 %100
          0x7e8ce260: i32 = Register %100
        0x7e8d3e40: i32 = Constant<48>
      0x7e8cebb8: i32 = undef
    0x7e8ceb50: i32 = Constant<0>
    0x7e8d7638: i32 = add 0x7e8d73c8, Constant:i32<2>
      0x7e8d73c8: i32 = mul 0x7e96cb20, Constant:i32<6>
        0x7e96cb20: i32 = add 0x7e96c918, 0x7e96c9e8
          0x7e96c918: i32 = mulhs 0x7e8ce810, Constant:i32<1431655766>
            0x7e8ce810: i32 = add 0x7e8ce538, 0x7e8ce398
              0x7e8ce538: i32,ch = CopyFromReg 0x7d433f78, Register:i32 %103
                0x7e8ce4d0: i32 = Register %103
              0x7e8ce398: i32,ch = CopyFromReg 0x7d433f78, Register:i32 %101
                0x7e8ce330: i32 = Register %101
            0x7e8d7290: i32 = Constant<1431655766>
          0x7e96c9e8: i32 = srl 0x7e96c918, Constant:i32<31>
            0x7e96c918: i32 = mulhs 0x7e8ce810, Constant:i32<1431655766>
              0x7e8ce810: i32 = add 0x7e8ce538, 0x7e8ce398
                0x7e8ce538: i32,ch = CopyFromReg 0x7d433f78, Register:i32 %103
                  0x7e8ce4d0: i32 = Register %103
                0x7e8ce398: i32,ch = CopyFromReg 0x7d433f78, Register:i32 %101
                  0x7e8ce330: i32 = Register %101
              0x7e8d7290: i32 = Constant<1431655766>
            0x7e96c980: i32 = Constant<31>
        0x7e8d7360: i32 = Constant<6>
      0x7e8d75d0: i32 = Constant<2>
    0x7e8d3b68: i1 = Constant<0>
    0x7e8d3b68: i1 = Constant<0>
In function: main

-- 
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/0ecd9c51/attachment.html>


More information about the mesa-dev mailing list