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 in trunk r233481: Assertion Failed: "Verification of generated function failed" in function runOnScop, file CodeGen/IslCodeGeneration.cpp #23499

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

Comments

@jeremyhu
Copy link
Mannequin

jeremyhu mannequin commented Apr 5, 2015

Bugzilla Link 23125
Resolution FIXED
Resolved on Jan 18, 2016 17:02
Version unspecified
OS All
Attachments svq1enc-4c1de0.c.bz2, svq1enc-4c1de0.sh
CC @tobiasgrosser

Extended Description

Assertion failed: (!verifyGeneratedFunction(S, EnteringBB->getParent()) && "Verification of generated function failed"), function runOnScop, file CodeGen/IslCodeGeneration.cpp, line 999.
0 libLLVM-3.7svn.dylib 0x00000001121ba312 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1 libLLVM-3.7svn.dylib 0x00000001121ba960 SignalHandler(int) + 220
2 libsystem_c.dylib 0x00007fff892d390a _sigtramp + 26
3 libsystem_c.dylib 0x0000000000000001 _sigtramp + 1993525009
4 libLLVM-3.7svn.dylib 0x00000001121ba7e3 abort + 22
5 libLLVM-3.7svn.dylib 0x00000001121ba7cd abort + 0
6 LLVMPolly.dylib 0x0000000113d5330f (anonymous namespace)::IslCodeGeneration::runOnScop(polly::Scop&) + 1235
7 LLVMPolly.dylib 0x0000000113d40627 polly::ScopPass::runOnRegion(llvm::Region
, llvm::RGPassManager&) + 47
8 libLLVM-3.7svn.dylib 0x000000011173b0ff llvm::RGPassManager::runOnFunction(llvm::Function&) + 749
9 libLLVM-3.7svn.dylib 0x0000000111aa3a23 llvm::FPPassManager::runOnFunction(llvm::Function&) + 297
10 libLLVM-3.7svn.dylib 0x0000000111aa351b llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 91
11 libLLVM-3.7svn.dylib 0x0000000111aa3450 llvm::legacy::FunctionPassManager::run(llvm::Function&) + 48
12 clang 0x000000010fc35925 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 6315
13 clang 0x000000010fd3b999 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 527
14 clang 0x000000010fdb14cf clang::ParseAST(clang::Sema&, bool, bool) + 384
15 clang 0x000000010fd3ac67 clang::CodeGenAction::ExecuteAction() + 519
16 clang 0x000000010faea515 clang::FrontendAction::Execute() + 67
17 clang 0x000000010fac45b5 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 547
18 clang 0x000000010fa957b1 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3825
19 clang 0x000000010fa8e17c cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 940
20 clang 0x000000010fa93e3e main + 8097
21 libdyld.dylib 0x00007fff878197e1 start + 0
22 libdyld.dylib 0x000000000000006d start + 2021550220
Stack dump:
0. Program arguments: /opt/local/libexec/llvm-3.7/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -disable-free -main-file-name svq1enc.c -mrelocation-model pic -pic-level 2 -mthread-model posix -fno-signed-zeros -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -gdwarf-2 -dwarf-column-info -coverage-file /Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.7/build/libavcodec/svq1enc.o -resource-dir /opt/local/libexec/llvm-3.7/bin/../lib/clang/3.7.0 -dependency-file libavcodec/svq1enc.d -MT libavcodec/svq1enc.o -D _ISOC99_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D PIC -D ZLIB_CONST -D HAVE_AV_CONFIG_H -D _GNU_SOURCE=1 -D _THREAD_SAFE -I . -I /Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.7/src/ -I /opt/local/include/SDL -I /opt/local/include -I /opt/local/include -I /opt/local/include -I /opt/local/include -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/x86_64-darwin-clang-polly-3.7/build -ferror-limit 19 -fmessage-length 0 -pthread -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -load /opt/local/libexec/llvm-3.7/lib/LLVMPolly.dylib -mllvm -polly -o libavcodec/svq1enc.o -x c /Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.7/src/libavcodec/svq1enc.c

  1. parser at end of file
  2. Per-function optimization
  3. Running pass 'Region Pass Manager' on function '@encode_block'
  4. Running pass 'Polly - Create LLVM-IR from SCoPs' on basic block '%polly.entering.block'
    clang: error: unable to execute command: Illegal instruction: 4
    clang: error: clang frontend command failed due to signal (use -v to see invocation)
    clang version 3.7.0 (trunk 233481)
    Target: x86_64-apple-darwin12.6.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/svq1enc-4c1de0.c
clang: note: diagnostic msg: /var/folders/yk/q1qsnnm53ms89plrqm9yrqc00000gn/T/svq1enc-4c1de0.sh
clang: note: diagnostic msg:


@tobiasgrosser
Copy link
Contributor

This is fixed in r234119

@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