LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 19435 - -polly-vectorizer=polly failure: isl_union_map.c:453: union map needs to contain elements in exactly one space
Summary: -polly-vectorizer=polly failure: isl_union_map.c:453: union map needs to cont...
Status: RESOLVED FIXED
Alias: None
Product: Polly
Classification: Unclassified
Component: Optimizer (show other bugs)
Version: unspecified
Hardware: PC All
: P normal
Assignee: Polly Development Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-15 11:51 PDT by Jeremy Huddleston Sequoia
Modified: 2016-01-18 17:00 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments
hevc-5ad5b0.c (328.02 KB, text/plain)
2014-04-15 11:52 PDT, Jeremy Huddleston Sequoia
Details
hevc-5ad5b0.sh (1.10 KB, text/plain)
2014-04-15 11:52 PDT, Jeremy Huddleston Sequoia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston Sequoia 2014-04-15 11:51:18 PDT
clang r206201
isl a64098e95e8c6404fa18f52fad75a8fd440c542f


isl_union_map.c:453: union map needs to contain elements in exactly one space
0  libLLVM-3.5.0svn.dylib 0x000000010ccece6b llvm::sys::PrintStackTrace(__sFILE*) + 40
1  libLLVM-3.5.0svn.dylib 0x000000010cced25b SignalHandler(int) + 248
2  libsystem_c.dylib      0x00007fff8ed2b90a _sigtramp + 26
3  libsystem_c.dylib      0x00007fff550a3cb8 _sigtramp + 3325526984
4  libisl.10.dylib        0x000000010e5936f4 isl_malloc_or_die + 0
5  libisl.10.dylib        0x000000010e6051e9 isl_map_from_union_map + 102
6  LLVMPolly.dylib        0x000000010e3df46f polly::Dependences::isParallelDimension(isl_set*, unsigned int) + 169
7  LLVMPolly.dylib        0x000000010e3ff48d polly::ClastStmtCodeGen::codegen(clast_for const*) + 59
8  LLVMPolly.dylib        0x000000010e3fe366 polly::ClastStmtCodeGen::codegen(clast_stmt const*) + 144
9  LLVMPolly.dylib        0x000000010e3ff8dc polly::ClastStmtCodeGen::codegen(clast_guard const*) + 612
10 LLVMPolly.dylib        0x000000010e3fe37c polly::ClastStmtCodeGen::codegen(clast_stmt const*) + 166
11 LLVMPolly.dylib        0x000000010e3ff8dc polly::ClastStmtCodeGen::codegen(clast_guard const*) + 612
12 LLVMPolly.dylib        0x000000010e3fe37c polly::ClastStmtCodeGen::codegen(clast_stmt const*) + 166
13 LLVMPolly.dylib        0x000000010e40013f (anonymous namespace)::CodeGeneration::runOnScop(polly::Scop&) + 385
14 LLVMPolly.dylib        0x000000010e3f1b11 polly::ScopPass::runOnRegion(llvm::Region*, llvm::RGPassManager&) + 47
15 libLLVM-3.5.0svn.dylib 0x000000010c4aa458 llvm::RGPassManager::runOnFunction(llvm::Function&) + 738
16 libLLVM-3.5.0svn.dylib 0x000000010c76ad89 llvm::FPPassManager::runOnFunction(llvm::Function&) + 297
17 libLLVM-3.5.0svn.dylib 0x000000010c76a891 llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 91
18 libLLVM-3.5.0svn.dylib 0x000000010c76a745 llvm::legacy::FunctionPassManager::run(llvm::Function&) + 81
19 clang                  0x000000010acbea78 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 5040
20 clang                  0x000000010ada7d73 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 557
21 clang                  0x000000010adfcf25 clang::ParseAST(clang::Sema&, bool, bool) + 348
22 clang                  0x000000010ada71d3 clang::CodeGenAction::ExecuteAction() + 487
23 clang                  0x000000010abac2cf clang::FrontendAction::Execute() + 71
24 clang                  0x000000010ab8d2b2 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 568
25 clang                  0x000000010ab61c7e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3962
26 clang                  0x000000010ab5b14c cc1_main(char const**, char const**, char const*, void*) + 908
27 clang                  0x000000010ab5ffd5 main + 6560
28 libdyld.dylib          0x00007fff8e2f17e1 start + 0
Stack dump:
0.	Program arguments: /opt/local/libexec/llvm-3.5/bin/clang -cc1 -triple i386-apple-macosx10.8.0 -emit-obj -disable-free -main-file-name hevc.c -mrelocation-model dynamic-no-pic -masm-verbose -target-cpu yonah -target-linker-version 136 -gdwarf-2 -coverage-file /Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-vectorize-3.5/build/libavformat/hevc.o -resource-dir /opt/local/libexec/llvm-3.5/bin/../lib/clang/3.5.0 -dependency-file libavformat/hevc.d -MT libavformat/hevc.o -D _ISOC99_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D HAVE_AV_CONFIG_H -D _GNU_SOURCE=1 -D _THREAD_SAFE -I . -I /Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-vectorize-3.5/src/ -I /opt/local/include/SDL -O3 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -std=c99 -fconst-strings -fdebug-compilation-dir /Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-vectorize-3.5/build -ferror-limit 19 -fmessage-length 0 -pthread -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-fragile-10.8.0 -fobjc-subscripting-legacy-runtime -fencode-extended-block-signature -fdiagnostics-show-option -vectorize-loops -vectorize-slp -load /opt/local/libexec/llvm-3.5/lib/LLVMPolly.dylib -mllvm -polly -mllvm -polly-vectorizer=polly -o libavformat/hevc.o -x c /Users/jeremy/src/ffmpeg/fate/i386-darwin-clang-polly-vectorize-3.5/src/libavformat/hevc.c 
1.	<eof> parser at end of file
2.	Per-function optimization
3.	Running pass 'Region Pass Manager' on function '@nal_unit_extract_rbsp'
4.	Running pass 'Polly - Create LLVM-IR from SCoPs' on basic block '%polly.split_new_and_old72'
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0 (trunk 206201)
Target: i386-apple-darwin12.5.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/yk/q1qsnnm53ms89plrqm9yrqc00000gn/T/hevc-5ad5b0.c
clang: note: diagnostic msg: /var/folders/yk/q1qsnnm53ms89plrqm9yrqc00000gn/T/hevc-5ad5b0.sh
clang: note: diagnostic msg: 

********************
Comment 1 Jeremy Huddleston Sequoia 2014-04-15 11:52:34 PDT
Created attachment 12375 [details]
hevc-5ad5b0.c
Comment 2 Jeremy Huddleston Sequoia 2014-04-15 11:52:50 PDT
Created attachment 12376 [details]
hevc-5ad5b0.sh
Comment 3 Tobias Grosser 2014-04-15 15:18:27 PDT
Fixed in r206318
Comment 4 Tanya Lattner 2016-01-18 17:00:46 PST
Move to Polly Product.