[llvm-bugs] [Bug 25316] New: [Polly] Schedule incorrectly constructed in case of infinite loop
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 25 14:01:11 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25316
Bug ID: 25316
Summary: [Polly] Schedule incorrectly constructed in case of
infinite loop
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 15160
--> https://llvm.org/bugs/attachment.cgi?id=15160&action=edit
Test case
With 251234 and polly-opt -polly-codegen -polly-process-unprofitable I see the
following error during schedule construction:
opt:
/home/grosser/Projects/polly/git/tools/polly/lib/Analysis/ScopInfo.cpp:3122:
void polly::Scop::buildSchedule(llvm::Region *, DenseMap<llvm::Loop *,
std::pair<isl_schedule *, unsigned int> > &): Assertion
`LoopSchedules.count(PL)' failed.
#0 0x7fe96c295d8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc1d8a)
#1 0x7fe96c2953f6 llvm::sys::RunSignalHandlers()
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc13f6)
#2 0x7fe96c29763a SignalHandler(int)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc363a)
#3 0x7fe96ac242f0 (/lib/x86_64-linux-gnu/libc.so.6+0x352f0)
#4 0x7fe96ac24267 gsignal
/build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55:0
#5 0x7fe96ac25eca abort /build/buildd/glibc-2.21/stdlib/abort.c:91:0
#6 0x7fe96ac1d03d __assert_fail_base
/build/buildd/glibc-2.21/assert/assert.c:92:0
#7 0x7fe96ac1d0f2 (/lib/x86_64-linux-gnu/libc.so.6+0x2e0f2)
#8 0x7fe9684ad329 polly::Scop::buildSchedule(llvm::Region*,
llvm::DenseMap<llvm::Loop*, std::pair<isl_schedule*, unsigned int>,
llvm::DenseMapInfo<llvm::Loop*>, llvm::detail::DenseMapPair<llvm::Loop*,
std::pair<isl_schedule*, unsigned int> > >&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x60329)
#9 0x7fe9684abc61 polly::Scop::init(llvm::AAResults&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x5ec61)
#10 0x7fe9684b450d polly::ScopInfo::buildScop(llvm::Region&,
llvm::DominatorTree&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x6750d)
#11 0x7fe9684b4a52 polly::ScopInfo::runOnRegion(llvm::Region*,
llvm::RGPassManager&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x67a52)
#12 0x7fe96e61808a llvm::RGPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMAnalysis.so.3.8+0x16c08a)
#13 0x7fe96d97c208 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8208)
#14 0x7fe96d97c44b llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b844b)
#15 0x7fe96d97c905 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8905)
--
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/20151025/26533ddc/attachment.html>
More information about the llvm-bugs
mailing list