From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 84232] PHINode containing itself causes segfault in LLVM when compiling Blender OpenCL kernel with R600 backend
Date: Thu, 09 Oct 2014 08:22:48 +0000 [thread overview]
Message-ID: <bug-84232-502-PCQovoBDNG@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-84232-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 2216 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=84232
--- Comment #6 from Vitaliy Filippov <vitalif@yourcmc.ru> ---
Hm, I've tried to reproduce your testcase and got another bug:
int main()
{
int i;
for (i = 0; i < 100; i++)
{
if (!(i%10))
{
i = i%50;
if (i%2 == 0)
break;
}
}
return i;
}
clang-3.5 -S -emit-llvm test.c
llc-3.5 -march=r600 -mcpu=oland test.ll
>>>>
Program received signal SIGSEGV, Segmentation fault.
llvm::BasicBlock::getTerminator (this=0x471f08) at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/BasicBlock.cpp:126
126 return dyn_cast<TerminatorInst>(&InstList.back());
(gdb) bt
#0 llvm::BasicBlock::getTerminator (this=0x471f08) at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/BasicBlock.cpp:126
#1 0x00007ffff7442c9a in (anonymous
namespace)::SIAnnotateControlFlow::handleLoopCondition
(this=this@entry=0x44c960, Cond=0x471eb0, Broken=Broken@entry=
0x486a50) at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/Target/R600/SIAnnotateControlFlow.cpp:271
#2 0x00007ffff7443d6c in handleLoop (Term=0x486af8, this=0x44c960)
at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/Target/R600/SIAnnotateControlFlow.cpp:288
#3 (anonymous namespace)::SIAnnotateControlFlow::runOnFunction (this=0x44c960,
F=...)
at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/Target/R600/SIAnnotateControlFlow.cpp:325
#4 0x00007ffff662a3d7 in llvm::FPPassManager::runOnFunction (this=0x43e930,
F=...)
at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/LegacyPassManager.cpp:1545
#5 0x00007ffff662a45b in llvm::FPPassManager::runOnModule (this=0x43e930,
M=...)
at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/LegacyPassManager.cpp:1565
#6 0x00007ffff662ce19 in runOnModule (M=..., this=0x431140) at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/LegacyPassManager.cpp:1623
#7 llvm::legacy::PassManagerImpl::run (this=0x430e50, M=...) at
/var/home/vitali/setup/llvm/llvm-toolchain-3.5-3.5/lib/IR/LegacyPassManager.cpp:1730
#8 0x0000000000411a11 in ?? ()
#9 0x000000000040cd98 in main ()
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3155 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
next prev parent reply other threads:[~2014-10-09 8:22 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 9:19 [Bug 84232] New: PHINode containing itself causes segfault in LLVM when compiling Blender OpenCL kernel with R600 backend bugzilla-daemon
2014-09-23 9:19 ` [Bug 84232] " bugzilla-daemon
2014-09-23 13:19 ` bugzilla-daemon
2014-10-07 21:23 ` bugzilla-daemon
2014-10-07 21:45 ` bugzilla-daemon
2014-10-07 22:23 ` bugzilla-daemon
2014-10-08 20:56 ` bugzilla-daemon
2014-10-09 8:22 ` bugzilla-daemon [this message]
2014-10-10 15:48 ` bugzilla-daemon
2014-10-10 20:31 ` bugzilla-daemon
2014-10-10 21:36 ` bugzilla-daemon
2014-10-22 23:07 ` bugzilla-daemon
2014-10-22 23:08 ` bugzilla-daemon
2014-10-22 23:16 ` bugzilla-daemon
2014-10-23 9:12 ` bugzilla-daemon
2014-12-05 15:44 ` bugzilla-daemon
2014-12-08 16:57 ` bugzilla-daemon
2014-12-08 21:11 ` bugzilla-daemon
2017-03-22 16:00 ` bugzilla-daemon
2017-03-22 16:00 ` bugzilla-daemon
2018-04-03 3:49 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-84232-502-PCQovoBDNG@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).