[llvm-bugs] [Bug 25239] New: Polly in trunk r249977: Crash in polly::Scop::hoistInvariantLoads()
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 18 12:34:27 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25239
Bug ID: 25239
Summary: Polly in trunk r249977: Crash in
polly::Scop::hoistInvariantLoads()
Product: Projects
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Stacker
Assignee: polly-dev at googlegroups.com
Reporter: jeremyhu at apple.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15098
--> https://llvm.org/bugs/attachment.cgi?id=15098&action=edit
vf_ssim-65e085.sh
Polly fails to build ffmpeg in recent llvm trunk
0 libLLVM-3.8svn.dylib 0x000000010ef5101e
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1 libLLVM-3.8svn.dylib 0x000000010ef50b0f llvm::sys::RunSignalHandlers() +
44
2 libLLVM-3.8svn.dylib 0x000000010ef51646 SignalHandler(int) + 164
3 libsystem_platform.dylib 0x00007fff8c9205aa _sigtramp + 26
4 libsystem_platform.dylib 0x00007ff05b52fbc8 _sigtramp + 3468752440
5 LLVMPolly.dylib 0x0000000110c26b62 void
std::__1::__stable_sort_move<polly::Scop::hoistInvariantLoads()::$_0&,
std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>(std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > > >*,
std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > > >*,
polly::Scop::hoistInvariantLoads()::$_0&,
std::__1::iterator_traits<std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>::difference_type, std::__1::iterator_traits<std::__1::pair<llvm::SCEV
const*, std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>::value_type*) + 358
6 LLVMPolly.dylib 0x0000000110c26719 void
std::__1::__stable_sort<polly::Scop::hoistInvariantLoads()::$_0&,
std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>(std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > > >*,
std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > > >*,
polly::Scop::hoistInvariantLoads()::$_0&,
std::__1::iterator_traits<std::__1::pair<llvm::SCEV const*,
std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>::difference_type, std::__1::iterator_traits<std::__1::pair<llvm::SCEV
const*, std::__1::forward_list<std::__1::pair<polly::MemoryAccess*, isl_set*>,
std::__1::allocator<std::__1::pair<polly::MemoryAccess*, isl_set*> > >
>*>::value_type*, long) + 515
7 LLVMPolly.dylib 0x0000000110c21f43
polly::Scop::hoistInvariantLoads() + 789
8 LLVMPolly.dylib 0x0000000110c21004
polly::Scop::init(llvm::AAResults&) + 298
9 LLVMPolly.dylib 0x0000000110c25fc6
polly::ScopInfo::buildScop(llvm::Region&, llvm::DominatorTree&) + 1070
10 LLVMPolly.dylib 0x0000000110c26304
polly::ScopInfo::runOnRegion(llvm::Region*, llvm::RGPassManager&) + 144
11 libLLVM-3.8svn.dylib 0x000000010e3e4063
llvm::RGPassManager::runOnFunction(llvm::Function&) + 749
12 libLLVM-3.8svn.dylib 0x000000010e7ae146
llvm::FPPassManager::runOnFunction(llvm::Function&) + 286
13 libLLVM-3.8svn.dylib 0x000000010e7adc61
llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 91
14 libLLVM-3.8svn.dylib 0x000000010e7adb96
llvm::legacy::FunctionPassManager::run(llvm::Function&) + 48
15 clang 0x000000010c79d0b6
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 6362
16 clang 0x000000010c8cf1ef
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 581
17 clang 0x000000010c95e2bd clang::ParseAST(clang::Sema&,
bool, bool) + 490
18 clang 0x000000010c8ce47b
clang::CodeGenAction::ExecuteAction() + 563
19 clang 0x000000010c63abf1 clang::FrontendAction::Execute()
+ 75
20 clang 0x000000010c610b25
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 757
21 clang 0x000000010c5e4600
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3804
22 clang 0x000000010c5dc208 cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1320
23 clang 0x000000010c5e2c30 main + 8651
24 libdyld.dylib 0x00007fff8ec8e5fd start + 1
Stack dump:
0. Program arguments: /opt/local/libexec/llvm-3.8/bin/clang -cc1 -triple
x86_64-apple-macosx10.9.0 -emit-obj -disable-free -main-file-name vf_ssim.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -fno-signed-zeros
-masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 242.2
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -coverage-file
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.8/build/libavfilter/vf_ssim.o
-resource-dir /opt/local/libexec/llvm-3.8/bin/../lib/clang/3.8.0
-dependency-file libavfilter/vf_ssim.d -MT libavfilter/vf_ssim.o -I . -I
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.8/src/ -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
/opt/local/include/SDL -I /opt/local/include -I /opt/local/include -I
/opt/local/include -I /opt/local/include -O3 -Wno-deprecated -Wno-unused
-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.8/build -ferror-limit
19 -fmessage-length 0 -pthread -stack-protector 1 -fblocks
-fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature
-fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp
-load /opt/local/libexec/llvm-3.8/lib/LLVMPolly.dylib -mllvm -polly -o
libavfilter/vf_ssim.o -x c
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.8/src/libavfilter/vf_ssim.c
1. <eof> parser at end of file
2. Per-function optimization
3. Running pass 'Region Pass Manager' on function '@config_input_ref'
4. Running pass 'Polly - Create polyhedral description of Scops' on basic
block '%if.end'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (trunk 249977)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-3.8/bin
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/kd/lg174pm94bz417bmp5vv57j80000gn/T/vf_ssim-65e085.c
clang: note: diagnostic msg:
/var/folders/kd/lg174pm94bz417bmp5vv57j80000gn/T/vf_ssim-65e085.sh
clang: note: diagnostic msg:
********************
make: *** [libavfilter/vf_ssim.o] Error 254
--
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/57862c8c/attachment-0001.html>
More information about the llvm-bugs
mailing list