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: Wed, 22 Oct 2014 23:16:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0609163001==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 938EE6E416 for ; Wed, 22 Oct 2014 16:16:13 -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 --===============0609163001== Content-Type: multipart/alternative; boundary="1414019773.afd8872.21805"; charset="UTF-8" --1414019773.afd8872.21805 Date: Wed, 22 Oct 2014 23:16:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=84232 --- Comment #12 from Vitaliy Filippov --- Hm... Checked the test from comment 6, the result is the same - there are two PHINode loops and one branch on constant. Also checked the code, it looks like crash from comment 6 is also triggered by a branch-on-constant, the difference is that it crashes when a ConstantInt is dyn_cast<>'ed to incorrect class - Instruction (ConstantInt isn't an Instruction!!) in handleLoopCondition() and getTerminator() is called on it. -- You are receiving this mail because: You are the assignee for the bug. --1414019773.afd8872.21805 Date: Wed, 22 Oct 2014 23:16:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 84232 from
Hm... Checked the test from comment 6, the result is the same - there are two
PHINode loops and one branch on constant.

Also checked the code, it looks like crash from comment 6 is also triggered by
a branch-on-constant, the difference is that it crashes when a ConstantInt is
dyn_cast<>'ed to incorrect class - Instruction (ConstantInt isn't an
Instruction!!) in handleLoopCondition() and getTerminator() is called on it.


You are receiving this mail because:
  • You are the assignee for the bug.
--1414019773.afd8872.21805-- --===============0609163001== 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 --===============0609163001==--