[llvm-bugs] [Bug 25137] New: [Polly] Coredump in IslNodeBuilder::preloadInvariantLoads

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 11 07:16:00 PDT 2015


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

            Bug ID: 25137
           Summary: [Polly] Coredump in
                    IslNodeBuilder::preloadInvariantLoads
           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 15047
  --> https://llvm.org/bugs/attachment.cgi?id=15047&action=edit
Test case to reproduce issue

With the attached test case 'polly-opt -polly-codegen out.ll' results in a
coredump:

#0 0x7f61724ea68e llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:404:15
#1 0x7f61724eb7c9 PrintStackTraceSignalHandler(void*)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:463:1
#2 0x7f61724ea203 llvm::sys::RunSignalHandlers()
/home/grosser/Projects/polly/git/lib/Support/Signals.cpp:35:5
#3 0x7f61724eba24 SignalHandler(int)
/home/grosser/Projects/polly/git/lib/Support/Unix/Signals.inc:211:1
#4 0x7f6170b902f0 (/lib/x86_64-linux-gnu/libc.so.6+0x352f0)
#5 0x7f616da4fcd0 IslNodeBuilder::preloadInvariantLoads()
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/IslNodeBuilder.cpp:930:47
#6 0x7f616da59c00 (anonymous
namespace)::CodeGeneration::runOnScop(polly::Scop&)
/home/grosser/Projects/polly/git/tools/polly/lib/CodeGen/CodeGeneration.cpp:152:31
#7 0x7f616da244d0 polly::ScopPass::runOnRegion(llvm::Region*,
llvm::RGPassManager&)
/home/grosser/Projects/polly/git/tools/polly/lib/Analysis/ScopPass.cpp:24:5
#8 0x7f617575dfae llvm::RGPassManager::runOnFunction(llvm::Function&)
/home/grosser/Projects/polly/git/lib/Analysis/RegionPass.cpp:99:20
#9 0x7f6174381acf llvm::FPPassManager::runOnFunction(llvm::Function&)
/home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1528:23
#10 0x7f6174381de5 llvm::FPPassManager::runOnModule(llvm::Module&)
/home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1549:16
#11 0x7f617438257a (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
/home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1605:23
#12 0x7f61743820a6 llvm::legacy::PassManagerImpl::run(llvm::Module&)
/home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1708:16
#13 0x7f6174382a91 llvm::legacy::PassManager::run(llvm::Module&)
/home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1739:3
#14 0x44b6be main /home/grosser/Projects/polly/git/tools/opt/opt.cpp:599:3
#15 0x7f6170b7ba40 __libc_start_main
/build/buildd/glibc-2.21/csu/libc-start.c:323:0
#16 0x4270b9 _start (/home/grosser/Projects/polly/build/bin/opt+0x4270b9)
Stack dump:
0.    Program arguments: /home/grosser/Projects/polly/build/bin/opt -load
/home/grosser/Projects/polly/build/lib/LLVMPolly.so -polly-codegen out.ll 
1.    Running pass 'Function Pass Manager' on module 'out.ll'.
2.    Running pass 'Region Pass Manager' on function '@copy_fields'
3.    Running pass 'Polly - Create LLVM-IR from SCoPs' on basic block
'%entry.split'

-- 
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/20151011/236d1140/attachment.html>


More information about the llvm-bugs mailing list