[llvm-bugs] [Bug 39214] New: [AMDGPU] crash or select error in shader generated by radeonsi

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 8 01:56:50 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39214

            Bug ID: 39214
           Summary: [AMDGPU] crash or select error in shader generated by
                    radeonsi
           Product: libraries
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: joseph.kucia at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20976
  --> https://bugs.llvm.org/attachment.cgi?id=20976&action=edit
bitcode

The attached LLVM bitcode is prodcued by radeonsi.


LLVM 7.0.0:

--- snip ---
LLVM ERROR: Cannot select: 0x55bf333f40c0: v4i32,ch = load<(dereferenceable
invariant load 16 from %ir.25, addrspace 2)> 0x55bf33367b28, 0x55bf333f9438,
undef:i32
  0x55bf333f9438: i32 = add 0x55bf333f94a0, Constant:i32<272>
    0x55bf333f94a0: i32,ch = CopyFromReg 0x55bf33367b28, Register:i32 %42
      0x55bf333f98b0: i32 = Register %42
    0x55bf333f9710: i32 = Constant<272>
  0x55bf333f4128: i32 = undef
In function: main
--- snip ---

LLVM 6.0.1:

--- snip ---
#0 0x00007fd358284daa llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x108daa)
#1 0x00007fd358282c96 llvm::sys::RunSignalHandlers()
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x106c96)
#2 0x00007fd358282f1b
(/usr/lib64/llvm/6/bin/../lib64/libLLVMSupport.so.6+0x106f1b)
#3 0x00007fd35717cfe0 (/lib64/libc.so.6+0x35fe0)
#4 0x00007fd359ca34e1
(/usr/lib64/llvm/6/bin/../lib64/libLLVMCodeGen.so.6+0x2fb4e1)
Stack dump:
0.      Program arguments: /usr/lib/llvm/6/bin/llc llvm-code.bc 
1.      Running pass 'CallGraph Pass Manager' on module 'llvm-code.bc'.
2.      Running pass 'Simple Register Coalescing' on function '@main'
Segmentation fault
--- snip ---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181008/42dc0de0/attachment.html>


More information about the llvm-bugs mailing list