Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-polly-vectorizer=polly failure: isl_union_map.c:453: union map needs to contain elements in exactly one space #19809

Closed
jeremyhu mannequin opened this issue Apr 15, 2014 · 2 comments
Labels
bugzilla Issues migrated from bugzilla polly

Comments

@jeremyhu
Copy link
Mannequin

jeremyhu mannequin commented Apr 15, 2014

Bugzilla Link 19435
Resolution FIXED
Resolved on Jan 18, 2016 17:00
Version unspecified
OS All
Attachments hevc-5ad5b0.c, hevc-5ad5b0.sh
CC @tobiasgrosser

Extended Description

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. 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:


@tobiasgrosser
Copy link
Contributor

Fixed in r206318

@tlattner
Copy link
Contributor

Move to Polly Product.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla polly
Projects
None yet
Development

No branches or pull requests

2 participants