Skip to contentSkip to conversation

New: [radeonsi LLVM] Segfault during OpenCL kernel compilation

Bug 65085 [email protected] 1 participant 4 messages May 28, 2013 – Nov 16, 2013

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 65085
Assignee: [email protected]
Summary: [radeonsi LLVM] Segfault during OpenCL kernel
compilation
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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.html)
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation

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

--- Comment #1 from Niels Ole Salscheider <[email protected]> --- Created attachment 79903
--> https://bugs.freedesktop.org/attachment.cgi?id=79903&action=edit
Patch to work around the issue

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation

In reply to [email protected]

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

--- Comment #2 from Niels Ole Salscheider <[email protected]> --- Created attachment 79904
--> https://bugs.freedesktop.org/attachment.cgi?id=79904&action=edit
Full backtrace

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 65085] [radeonsi LLVM] Segfault during OpenCL kernel compilation

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Tom Stellard <[email protected]> ---
This is working for me with the latest LLVM code. Please re-open if it is not working for you.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel