[llvm-bugs] [Bug 25242] New: [Polly] "Incoming edges from outside the scop should always come from SplitBB"

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 18 13:36:54 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25242

            Bug ID: 25242
           Summary: [Polly] "Incoming edges from outside the scop should
                    always come from SplitBB"
           Product: Projects
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Polly
          Assignee: polly-dev at googlegroups.com
          Reporter: tobias at grosser.es
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15102
  --> https://llvm.org/bugs/attachment.cgi?id=15102&action=edit
Test case to reproduce the bug

With 250664 'polly-opt -polly-codegen -polly-process-unprofitable' crashes
with:

Incoming edges from outside the scop should always come from SplitBB
UNREACHABLE executed at
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/BlockGenerators.cpp:506!
#0 0x7f24c4981d8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc1d8a)
#1 0x7f24c49813f6 llvm::sys::RunSignalHandlers()
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc13f6)
#2 0x7f24c498363a SignalHandler(int)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc363a)
#3 0x7f24c33102f0 (/lib/x86_64-linux-gnu/libc.so.6+0x352f0)
#4 0x7f24c3310267 gsignal
/build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55:0
#5 0x7f24c3311eca abort /build/buildd/glibc-2.21/stdlib/abort.c:91:0
#6 0x7f24c492f7fd llvm::llvm_unreachable_internal(char const*, char const*,
unsigned int)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0x6f7fd)
#7 0x7f24c0bb3002
polly::BlockGenerator::createScalarInitialization(polly::Scop&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x78002)
#8 0x7f24c0bb3a7a polly::BlockGenerator::finalizeSCoP(polly::Scop&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x78a7a)
#9 0x7f24c0bd1177 (anonymous
namespace)::CodeGeneration::runOnScop(polly::Scop&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x96177)
#10 0x7f24c0baf805 polly::ScopPass::runOnRegion(llvm::Region*,
llvm::RGPassManager&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x74805)
#11 0x7f24c6d0408a llvm::RGPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMAnalysis.so.3.8+0x16c08a)
#12 0x7f24c6068208 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8208)
#13 0x7f24c606844b llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b844b)
#14 0x7f24c6068905 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8905)
#15 0x41fbf1 main (/home/grosser/Projects/polly/cmake_opt/bin/opt+0x41fbf1)
#16 0x7f24c32fba40 __libc_start_main
/build/buildd/glibc-2.21/csu/libc-start.c:323:0
#17 0x412639 _start (/home/grosser/Projects/polly/cmake_opt/bin/opt+0x412639)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151018/2ad6b290/attachment.html>


More information about the llvm-bugs mailing list