From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 84232] PHINode containing itself causes segfault in LLVM when
compiling Blender OpenCL kernel with R600 backend
Date: Tue, 07 Oct 2014 21:45:49 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1095065588=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 1998B8945A
for ; Tue, 7 Oct 2014 14:45:49 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1095065588==
Content-Type: multipart/alternative; boundary="1412718348.fB6Be1.15835"; charset="UTF-8"
--1412718348.fB6Be1.15835
Date: Tue, 7 Oct 2014 21:45:48 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=84232
--- Comment #3 from Matt Arsenault ---
(In reply to Vitaliy Filippov from comment #2)
>
> Unhandled loop condition!
> UNREACHABLE executed at
> /var/home/vitali/setup/llvm-toolchain-3.5-3.5/lib/Target/R600/
> SIAnnotateControlFlow.cpp:259!
>
> This is probably related to bugpoint replacing the branch conditions with
> constants, which makes conditional branches effectively unconditional :) and
> SIAnnotateControlFlow::handleLoopCondition also doesn't handle this case.
>
> Looks like an easy to fix problem?
The StructurizeCFG pass can actually create branches on constants, although it
shouldn't, which I've seen several times before. I've had a partial fix for
SIAnnotateControlFlow handling branches on constants for a while, but I've been
putting off fixing it until the less noticeable StructurizeCFG problem is
fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
--1412718348.fB6Be1.15835
Date: Tue, 7 Oct 2014 21:45:48 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 84232
from Matt Arsenault
(In reply to Vitaliy Filippov from comment #2)
>
> Unhandled loop condition!
> UNREACHABLE executed at
> /var/home/vitali/setup/llvm-toolchain-3.5-3.5/lib/Target/R600/
> SIAnnotateControlFlow.cpp:259!
>
> This is probably related to bugpoint replacing the branch conditions with
> constants, which makes conditional branches effectively unconditional :) and
> SIAnnotateControlFlow::handleLoopCondition also doesn't handle this case.
>
> Looks like an easy to fix problem?
The StructurizeCFG pass can actually create branches on constants, although it
shouldn't, which I've seen several times before. I've had a partial fix for
SIAnnotateControlFlow handling branches on constants for a while, but I've been
putting off fixing it until the less noticeable StructurizeCFG problem is
fixed.
You are receiving this mail because:
- You are the assignee for the bug.
--1412718348.fB6Be1.15835--
--===============1095065588==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1095065588==--