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: Thu, 23 Oct 2014 09:12:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1157207229==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B2B326E448 for ; Thu, 23 Oct 2014 02:12:50 -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 --===============1157207229== Content-Type: multipart/alternative; boundary="1414055570.8aAAfE2.11503"; charset="UTF-8" --1414055570.8aAAfE2.11503 Date: Thu, 23 Oct 2014 09:12:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=84232 --- Comment #13 from Vitaliy Filippov --- It seems that the StructurizeCFG branch-on-constant bug not only crashes R600, but actually generates invalid code! It's clearly seen that in the IR code from comment 11 (structurizecfg output of comment 10) (j > 50) comparison is contained in block %14, so it must be reachable. But it's unreachable because the only branch there is that constant branch instruction from %25 that always avoids %14... -- You are receiving this mail because: You are the assignee for the bug. --1414055570.8aAAfE2.11503 Date: Thu, 23 Oct 2014 09:12:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 13 on bug 84232 from
It seems that the StructurizeCFG branch-on-constant bug not only crashes R600,
but actually generates invalid code!

It's clearly seen that in the IR code from comment 11 (structurizecfg output of
comment 10) (j > 50) comparison is contained in block %14, so it must be
reachable. But it's unreachable because the only branch there is that constant
branch instruction from %25 that always avoids %14...


You are receiving this mail because:
  • You are the assignee for the bug.
--1414055570.8aAAfE2.11503-- --===============1157207229== 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 --===============1157207229==--