https://bugs.freedesktop.org/show_bug.cgi?id=65085
Priority: medium Bug ID: 65085 Assignee: dri-devel@lists.freedesktop.org Summary: [radeonsi LLVM] Segfault during OpenCL kernel compilation Severity: normal Classification: Unclassified OS: All Reporter: niels_ole@salscheider-online.de Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa
Created attachment 79901 --> https://bugs.freedesktop.org/attachment.cgi?id=79901&action=edit Kernel that causes the segfault
I get a segmentation fault in LLVM with Tom Stellard's recent radeonsi compute patches (http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130520/175743....) with the attached kernel.
I can work around the issue when executing the if-block in the kernel unconditionally or with the attached patch to LLVM. Desc.OpInfo[0].RegClass equals -1 when the segmentation fault occurs.