dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend
@ 2013-09-27 23:25 bugzilla-daemon
  2013-09-27 23:32 ` [Bug 69897] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-27 23:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1134 bytes --]

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

          Priority: medium
            Bug ID: 69897
          Assignee: dri-devel@lists.freedesktop.org
           Summary: OpenCL kernel fails to compile with R600 LLVM backend
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: greg@chown.ath.cx
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Drivers/Gallium/r600
           Product: Mesa

Created attachment 86758
  --> https://bugs.freedesktop.org/attachment.cgi?id=86758&action=edit
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'.
1.    Running pass 'AMD IL Control Flow Graph structurizer Pass' on function
'@shadow_ao'

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2606 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
@ 2013-09-27 23:32 ` bugzilla-daemon
  2013-09-27 23:39 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-27 23:32 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]

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

--- Comment #1 from Tom Stellard <tstellar@gmail.com> ---
Created attachment 86759
  --> https://bugs.freedesktop.org/attachment.cgi?id=86759&action=edit
Possible Fix

Does this patch help?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
  2013-09-27 23:32 ` [Bug 69897] " bugzilla-daemon
@ 2013-09-27 23:39 ` bugzilla-daemon
  2013-09-27 23:41 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-27 23:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]

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

--- Comment #2 from Grigori Goronzy <greg@chown.ath.cx> ---
It seems to fix the initial problem, but now I'm getting something else:

PRT: /home/greg/build/llvm/include/llvm/Support/Casting.h:239: typename
cast_retty<X, Y *>::ret_type llvm::cast(Y *) [X = llvm::BranchInst, Y =
llvm::TerminatorInst]: Assertion `isa<X>(Val) && "cast<Ty>() argument of
incompatible type!"' failed.
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'radeon'.
1.    Running pass 'Region Pass Manager' on function '@shadow_ao'
2.    Running pass 'Structurize control flow' on basic block '%if.end100'

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1545 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
  2013-09-27 23:32 ` [Bug 69897] " bugzilla-daemon
  2013-09-27 23:39 ` bugzilla-daemon
@ 2013-09-27 23:41 ` bugzilla-daemon
  2013-09-27 23:46 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-27 23:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 353 bytes --]

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

--- Comment #3 from Tom Stellard <tstellar@gmail.com> ---
Created attachment 86760
  --> https://bugs.freedesktop.org/attachment.cgi?id=86760&action=edit
Possible Fix Part 2

Try applying this patch along with the first fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1346 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-09-27 23:41 ` bugzilla-daemon
@ 2013-09-27 23:46 ` bugzilla-daemon
  2013-09-28  0:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-27 23:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 356 bytes --]

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

--- Comment #4 from Grigori Goronzy <greg@chown.ath.cx> ---
Still fails, but it's getting even further:

LLVM ERROR: Not supported instr: <MCInst 292 <MCOperand Reg:1495> <MCOperand
Reg:980> <MCOperand Imm:0> <MCOperand Imm:0>>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1168 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (3 preceding siblings ...)
  2013-09-27 23:46 ` bugzilla-daemon
@ 2013-09-28  0:21 ` bugzilla-daemon
  2013-09-29 14:36 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-28  0:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 337 bytes --]

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

--- Comment #5 from Tom Stellard <tstellar@gmail.com> ---
Created attachment 86761
  --> https://bugs.freedesktop.org/attachment.cgi?id=86761&action=edit
Fix part 3

Can you try this patch with the other two?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (4 preceding siblings ...)
  2013-09-28  0:21 ` bugzilla-daemon
@ 2013-09-29 14:36 ` bugzilla-daemon
  2017-02-01  1:52 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2013-09-29 14:36 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 292 bytes --]

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

--- Comment #6 from Grigori Goronzy <greg@chown.ath.cx> ---
Now it compiles fine, but locks up the GPU. This might be an issue with this
particular kernel, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1074 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (5 preceding siblings ...)
  2013-09-29 14:36 ` bugzilla-daemon
@ 2017-02-01  1:52 ` bugzilla-daemon
  2017-02-01 16:41 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-02-01  1:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]

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

Jan Vesely <jv356@scarletmail.rutgers.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |99553


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1590 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-02-01  1:52 ` bugzilla-daemon
@ 2017-02-01 16:41 ` bugzilla-daemon
  2017-02-01 16:46 ` bugzilla-daemon
  2019-09-18 19:05 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-02-01 16:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 231 bytes --]

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

--- Comment #7 from Vedran Miletić <vedran@miletic.net> ---
Grigori, can you repost the kernel?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1022 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (7 preceding siblings ...)
  2017-02-01 16:41 ` bugzilla-daemon
@ 2017-02-01 16:46 ` bugzilla-daemon
  2019-09-18 19:05 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2017-02-01 16:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

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

Jan Vesely <jv356@scarletmail.rutgers.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #86758|text/plain                  |application/tar+gzip
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1119 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 69897] OpenCL kernel fails to compile with R600 LLVM backend
  2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
                   ` (8 preceding siblings ...)
  2017-02-01 16:46 ` bugzilla-daemon
@ 2019-09-18 19:05 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 840 bytes --]

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

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #8 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/465.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2450 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-09-18 19:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-27 23:25 [Bug 69897] New: OpenCL kernel fails to compile with R600 LLVM backend bugzilla-daemon
2013-09-27 23:32 ` [Bug 69897] " bugzilla-daemon
2013-09-27 23:39 ` bugzilla-daemon
2013-09-27 23:41 ` bugzilla-daemon
2013-09-27 23:46 ` bugzilla-daemon
2013-09-28  0:21 ` bugzilla-daemon
2013-09-29 14:36 ` bugzilla-daemon
2017-02-01  1:52 ` bugzilla-daemon
2017-02-01 16:41 ` bugzilla-daemon
2017-02-01 16:46 ` bugzilla-daemon
2019-09-18 19:05 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).