[LLVMbugs] [Bug 21162] New: 'SLP Vectorizer causes clang core dump

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 5 11:50:33 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21162

            Bug ID: 21162
           Summary: 'SLP Vectorizer causes clang core dump
           Product: clang
           Version: trunk
          Hardware: All
                OS: NetBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tk at giga.or.at
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13140
  --> http://llvm.org/bugs/attachment.cgi?id=13140&action=edit
Attachment as requested

When compiling musepack r475 from
http://www.musepack.net/ in pkgsrc
with "clang version 3.6 (trunk 215315)" as currently included in NetBSD, the
build dies with:

assertion "NumToSchedule == 0 && "could not schedule all instructions"" failed:
file
"/archive/foreign/src/external/bsd/llvm/lib/libLLVMVectorize/../../dist/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp",
line
2684, function "void
{anonymous}::BoUpSLP::scheduleBlock({anonymous}::BoUpSLP::BlockScheduling*)"
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64--netbsd -emit-obj
-disable-free -main-file-name psy.c -mrelocation-model static -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
 -target-linker-version 1 -dwarf-column-info -coverage-file
/scratch/audio/musepack/work/musepack_src_r475/libmpcpsy/CMakeFiles/mpcpsy_static.dir/psy.o
-resource-dir /usr/bin/../lib/clang/3.6 -D CVD_FASTLOG -D FA
ST_MATH -I /scratch/audio/musepack/work/musepack_src_r475/include -I
/scratch/audio/musepack/work/.buildlink/include -O3 -Wall
-fdebug-compilation-dir
/scratch/audio/musepack/work/musepack_src_r475/libmpcpsy -fer
ror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -o
CMakeFiles/mpcpsy_static.dir/psy.o -x c
/scratch/audio/musepack/work/musepack_src
_r475/libmpcpsy/psy.c
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'/scratch/audio/musepack/work/musepack_src_r475/libmpcpsy/psy.c'.
4.      Running pass 'SLP Vectorizer' on function '@SubbandEnergy'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6 (trunk 215315)
Target: x86_64--netbsd
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/tmp/psy-891c85.c
clang: note: diagnostic msg: /var/tmp/psy-891c85.sh
clang: note: diagnostic msg: 

I'll attach the requested files.

-- 
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/20141005/5cd44f13/attachment.html>


More information about the llvm-bugs mailing list