[llvm-bugs] [Bug 25236] New: [Polly] Invariant Loads: cannot handle void expression
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 18 11:53:57 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25236
Bug ID: 25236
Summary: [Polly] Invariant Loads: cannot handle void expression
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 15094
--> https://llvm.org/bugs/attachment.cgi?id=15094&action=edit
Test case
With r250655 the attached test case fails for me with opt -polly-codegen
-polly-process-unprofitable:
/home/grosser/Projects/polly/git/tools/polly/lib/External/isl/isl_ast_build_expr.c:1657:
cannot handle void expression
#0 0x7f91ddd5ed8a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc1d8a)
#1 0x7f91ddd5e3f6 llvm::sys::RunSignalHandlers()
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc13f6)
#2 0x7f91ddd6063a SignalHandler(int)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMSupport.so.3.8+0xc363a)
#3 0x7f91dc6ed2f0 (/lib/x86_64-linux-gnu/libc.so.6+0x352f0)
#4 0x7f91dc6ed267 gsignal
/build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55:0
#5 0x7f91dc6eeeca abort /build/buildd/glibc-2.21/stdlib/abort.c:91:0
#6 0x7f91da027347
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x10f347)
#7 0x7f91da008ed6 isl_ast_build_expr_from_pw_aff_internal
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0xf0ed6)
#8 0x7f91da009425 isl_ast_build_with_arguments
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0xf1425)
#9 0x7f91d9faaa37 IslNodeBuilder::preloadInvariantLoad(polly::MemoryAccess
const&, isl_set*)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x92a37)
#10 0x7f91d9faa089
IslNodeBuilder::preloadInvariantEquivClass(std::tuple<llvm::SCEV const*,
std::forward_list<polly::MemoryAccess*, std::allocator<polly::MemoryAccess*> >,
isl_set*> const&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x92089)
#11 0x7f91d9faafeb IslNodeBuilder::preloadInvariantLoads()
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x92feb)
#12 0x7f91d9fae285 (anonymous
namespace)::CodeGeneration::runOnScop(polly::Scop&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x96285)
#13 0x7f91d9f8c665 polly::ScopPass::runOnRegion(llvm::Region*,
llvm::RGPassManager&)
(/home/grosser/Projects/polly/cmake_opt/lib/../lib/libPolly.so+0x74665)
#14 0x7f91e00e108a llvm::RGPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMAnalysis.so.3.8+0x16c08a)
#15 0x7f91df445208 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8208)
#16 0x7f91df44544b llvm::FPPassManager::runOnModule(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b844b)
#17 0x7f91df445905 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/home/grosser/Projects/polly/cmake_opt/bin/../lib/libLLVMCore.so.3.8+0x1b8905)
#18 0x41fbf1 main (/home/grosser/Projects/polly/cmake_opt/bin/opt+0x41fbf1)
#19 0x7f91dc6d8a40 __libc_start_main
/build/buildd/glibc-2.21/csu/libc-start.c:323:0
#20 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/b2035d39/attachment.html>
More information about the llvm-bugs
mailing list