OpenCL kernel fails to compile with R600 LLVM backend
Submitted by Grigori Goronzy
Assigned to Default DRI bug account
Description
Created attachment 86758 Kernel source code with headers
The attached kernel fails to compile with this error message:
PRT: /home/greg/build/llvm/lib/Target/R600/AMDILCFGStructurizer.cpp:1115: int <anonymous namespace>
::AMDGPUCFGStructurizer::mergeLoop(llvm::MachineLoop *): Assertion `ExitBlkSet.size() == 1' failed.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'radeon'.
- Running pass 'AMD IL Control Flow Graph structurizer Pass' on function '@shadow_ao'
Attachment 86758, "Kernel source code with headers":
shadow_ao.tar.gz