https://llvm.org/bugs/show_bug.cgi?id=25150
Bug ID: 25150 Summary: [Polly] preloadInvariantValues: "All operands to PHI node must be the same type as the PHI node!" Product: Projects Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Polly Assignee: polly-...@googlegroups.com Reporter: tob...@grosser.es CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15057 --> https://llvm.org/bugs/attachment.cgi?id=15057&action=edit 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 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs