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.
https://bugs.freedesktop.org/show_bug.cgi?id=65085
--- Comment #1 from Niels Ole Salscheider niels_ole@salscheider-online.de --- Created attachment 79903 --> https://bugs.freedesktop.org/attachment.cgi?id=79903&action=edit Patch to work around the issue
https://bugs.freedesktop.org/show_bug.cgi?id=65085
--- Comment #2 from Niels Ole Salscheider niels_ole@salscheider-online.de --- Created attachment 79904 --> https://bugs.freedesktop.org/attachment.cgi?id=79904&action=edit Full backtrace
https://bugs.freedesktop.org/show_bug.cgi?id=65085
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Tom Stellard tstellar@gmail.com --- This is working for me with the latest LLVM code. Please re-open if it is not working for you.
dri-devel@lists.freedesktop.org