<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Polly] preloadInvariantValues: "All operands to PHI node must be the same type as the PHI node!""
href="https://llvm.org/bugs/show_bug.cgi?id=25150">25150</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Polly] preloadInvariantValues: "All operands to PHI node must be the same type as the PHI node!"
</td>
</tr>
<tr>
<th>Product</th>
<td>Projects
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Polly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tobias@grosser.es
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15057" name="attach_15057" title="Test case to reproduce bug">attachment 15057</a> <a href="attachment.cgi?id=15057&action=edit" title="Test case to reproduce bug">[details]</a></span>
Test case to reproduce bug
With r250092 we get the following assertion when running "polly-opt
-polly-codegen out.renamed.ll":
opt: /home/grosser/Projects/polly/git/include/llvm/IR/Instructions.h:2462: void
llvm::PHINode::setIncomingValue(unsigned int, llvm::Value *): Assertion
`getType() == V->getType() && "All operands to PHI node must be the same type
as the PHI node!"' failed.
#0 0x7f1eab9ae83e llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:404:15
#1 0x7f1eab9af979 PrintStackTraceSignalHandler(void*)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:463:1
#2 0x7f1eab9ae3b3 llvm::sys::RunSignalHandlers()
/home/grosser/Projects/polly/git/lib/Support/Signals.cpp:35:5
#3 0x7f1eab9afbd4 SignalHandler(int)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:211:1
#4 0x7f1eaa0512f0 (/lib/x86_64-linux-gnu/libc.so.6+0x352f0)
#5 0x7f1eaa051267 gsignal
/build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55:0
#6 0x7f1eaa052eca abort /build/buildd/glibc-2.21/stdlib/abort.c:91:0
#7 0x7f1eaa04a03d __assert_fail_base
/build/buildd/glibc-2.21/assert/assert.c:92:0
#8 0x7f1eaa04a0f2 (/lib/x86_64-linux-gnu/libc.so.6+0x2e0f2)
#9 0x7f1ea6edc5f4 llvm::PHINode::setIncomingValue(unsigned int, llvm::Value*)
/home/grosser/Projects/polly/git/include/llvm/IR/Instructions.h:2463:16
#10 0x7f1ea6ed7ed4 llvm::PHINode::addIncoming(llvm::Value*, llvm::BasicBlock*)
/home/grosser/Projects/polly/git/include/llvm/IR/Instructions.h:2506:22
#11 0x7f1ea6efad97 IslNodeBuilder::preloadInvariantLoad(polly::MemoryAccess
const&, isl_set*, isl_ast_build*)
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/IslNodeBuilder.cpp:901:5
#12 0x7f1ea6efb036 IslNodeBuilder::preloadInvariantLoads()
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/IslNodeBuilder.cpp:935:12
#13 0x7f1ea6f04ed0 (anonymous
namespace)::CodeGeneration::runOnScop(polly::Scop&)
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/CodeGeneration.cpp:152:31</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>