[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


            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:
2684, function "void
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
-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
/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
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
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
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: 

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