[llvm-bugs] [Bug 25252] New: Polly in trunk r250668: Assertion failed: (NewSizes[i + ExtraDimsNew] == DimensionSizes[i + ExtraDimsOld] && "Array update with non-matching dimension sizes"), function updateSizes, file tools/polly/lib/Analysis/ScopInfo.cpp, line 183.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 19 08:24:41 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25252

            Bug ID: 25252
           Summary: Polly in trunk r250668: Assertion failed: (NewSizes[i
                    + ExtraDimsNew] == DimensionSizes[i + ExtraDimsOld] &&
                    "Array update with non-matching dimension sizes"),
                    function updateSizes, file
                    tools/polly/lib/Analysis/ScopInfo.cpp, line 183.
           Product: Projects
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Polly
          Assignee: polly-dev at googlegroups.com
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15113
  --> https://llvm.org/bugs/attachment.cgi?id=15113&action=edit
aacpsdsp_float-8b0a29.sh

Polly fails to build ffmpeg in recent llvm trunk

Assertion failed: (NewSizes[i + ExtraDimsNew] == DimensionSizes[i +
ExtraDimsOld] && "Array update with non-matching dimension sizes"), function
updateSizes, file
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_llvm-3.8/llvm-3.8/work/trunk/tools/polly/lib/Analysis/ScopInfo.cpp,
line 183.
0  libLLVM-3.8svn.dylib     0x0000000109f7369e
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1  libLLVM-3.8svn.dylib     0x0000000109f7318f llvm::sys::RunSignalHandlers() +
44
2  libLLVM-3.8svn.dylib     0x0000000109f73cc6 SignalHandler(int) + 164
3  libsystem_platform.dylib 0x00007fff8c9205aa _sigtramp + 26
4  libsystem_platform.dylib 000000000000000000 _sigtramp + 1936587376
5  libLLVM-3.8svn.dylib     0x0000000109f73b81 abort + 22
6  libLLVM-3.8svn.dylib     0x0000000109f73b6b abort + 0
7  LLVMPolly.dylib          0x000000010bc64c23
polly::ScopArrayInfo::updateSizes(llvm::ArrayRef<llvm::SCEV const*>) + 395
8  LLVMPolly.dylib          0x000000010bc66d66
polly::Scop::getOrCreateScopArrayInfo(llvm::Value*, llvm::Type*,
llvm::ArrayRef<llvm::SCEV const*>, bool) + 188
9  LLVMPolly.dylib          0x000000010bc66c8d
polly::ScopStmt::buildAccessRelations() + 79
10 LLVMPolly.dylib          0x000000010bc67bae polly::ScopStmt::init() + 58
11 LLVMPolly.dylib          0x000000010bc6c357
polly::Scop::init(llvm::AAResults&) + 91
12 LLVMPolly.dylib          0x000000010bc717b0
polly::ScopInfo::buildScop(llvm::Region&, llvm::DominatorTree&) + 1070
13 LLVMPolly.dylib          0x000000010bc71adc
polly::ScopInfo::runOnRegion(llvm::Region*, llvm::RGPassManager&) + 144
14 libLLVM-3.8svn.dylib     0x00000001093ef5f3
llvm::RGPassManager::runOnFunction(llvm::Function&) + 749
15 libLLVM-3.8svn.dylib     0x00000001097bc43a
llvm::FPPassManager::runOnFunction(llvm::Function&) + 286
16 libLLVM-3.8svn.dylib     0x00000001097bc5d7
llvm::FPPassManager::runOnModule(llvm::Module&) + 41
17 libLLVM-3.8svn.dylib     0x00000001097bc91c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 630
18 clang                    0x0000000107799987
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 6731
19 clang                    0x00000001078cd14b
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 581
20 clang                    0x000000010795c051 clang::ParseAST(clang::Sema&,
bool, bool) + 490
21 clang                    0x00000001078cc3d7
clang::CodeGenAction::ExecuteAction() + 563
22 clang                    0x00000001076344cb clang::FrontendAction::Execute()
+ 75
23 clang                    0x0000000107609ac1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 757
24 clang                    0x00000001075dd5d0
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3804
25 clang                    0x00000001075d5128 cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1320
26 clang                    0x00000001075dbbae main + 8651
27 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
aacpsdsp_float.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/libavcodec/aacpsdsp_float.o
-resource-dir /opt/local/libexec/llvm-3.8/bin/../lib/clang/3.8.0
-dependency-file libavcodec/aacpsdsp_float.d -MT libavcodec/aacpsdsp_float.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
libavcodec/aacpsdsp_float.o -x c
/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.8/src/libavcodec/aacpsdsp_float.c 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'Function Pass Manager' on module
'/Users/jeremy/src/ffmpeg/fate/x86_64-darwin-clang-polly-3.8/src/libavcodec/aacpsdsp_float.c'.
4.    Running pass 'Region Pass Manager' on function
'@ps_hybrid_analysis_ileave_c'
5.    Running pass 'Polly - Create polyhedral description of Scops' on basic
block '%entry.split'
clang: error: unable to execute command: Illegal instruction: 4 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (trunk 250668)
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/aacpsdsp_float-8b0a29.c
clang: note: diagnostic msg:
/var/folders/kd/lg174pm94bz417bmp5vv57j80000gn/T/aacpsdsp_float-8b0a29.sh
clang: note: diagnostic msg: 

********************
make: *** [libavcodec/aacpsdsp_float.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/20151019/13548083/attachment.html>


More information about the llvm-bugs mailing list