[llvm-bugs] [Bug 32471] New: Compiler crash on AArch64-linux on test-suite MultiSource/Benchmarks/MiBench with -global-isel-abort=2

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 30 07:31:50 PDT 2017


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

            Bug ID: 32471
           Summary: Compiler crash on AArch64-linux on test-suite
                    MultiSource/Benchmarks/MiBench with
                    -global-isel-abort=2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: GlobalISel
          Assignee: unassignedbugs at nondot.org
          Reporter: kristof.beyls at gmail.com
                CC: llvm-bugs at lists.llvm.org

I won't get a small reproducer out today, but thought I'd already file this to
avoid others to duplicate filing this.

clang-5.0:
/work/llvm-test/slave2/continuous/build/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:615:
llvm::MachineInstrBuilder
llvm::MachineIRBuilder::buildExtractVectorElement(unsigned int, unsigned int,
unsigned int): Assertion `ResTy.isScalar() && IdxTy.isScalar() && "invalid
operand type"' failed.
/work/slave/test-lnt/build/compiler/bin/clang-5.0[0x1485fe8]
Stack dump:
0.      Program arguments: /work/slave/test-lnt/build/compiler/bin/clang-5.0
-cc1 -triple aarch64--linux-gnu -emit-obj -disable-free -main-file-name lame.c
-mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu cortex-a57
-target-feature +neon -target-feature +crc -target-feature +crypto -target-abi
aapcs -dwarf-column-info -debug-info-kind=limited -dwarf-version=4
-debugger-tuning=gdb -coverage-notes-file
/work/slave/test-lnt/build/SANDBOX/build/MultiSource/Benchmarks/MiBench/consumer-lame/CMakeFiles/consumer-lame.dir/lame.c.gcno
-resource-dir /work/slave/test-lnt/build/compiler/lib/clang/5.0.0 -D NDEBUG -I
/work/llvm-test-suite/MultiSource/Benchmarks/MiBench/consumer-lame -I
/work/slave/test-lnt/build/SANDBOX/build/MultiSource/Benchmarks/MiBench/consumer-lame
-D NDEBUG -D HAVEMPGLIB -D LAMEPARSE -D NDEBUG -D __NO_MATH_INLINES -D
LAMESNDFILE -internal-isystem /usr/local/include -internal-isystem
/work/slave/test-lnt/build/compiler/lib/clang/5.0.0/include
-internal-externc-isystem /usr/include/aarch64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O2
-Werror=date-time -w -fdebug-compilation-dir
/work/slave/test-lnt/build/SANDBOX/build/MultiSource/Benchmarks/MiBench/consumer-lame
-ferror-limit 19 -fmessage-length 0 -fallow-half-arguments-and-returns
-fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -mllvm -global-isel -mllvm -global-isel-abort=2 -o
CMakeFiles/consumer-lame.dir/lame.c.o -x c
/work/llvm-test-suite/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/work/llvm-test-suite/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c'.
4.      Running pass 'IRTranslator' on function '@lame_encode_frame'
clang-5.0: error: unable to execute command: Aborted
clang-5.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 5.0.0 (trunk 299015) (llvm/trunk 299022)
Target: aarch64--linux-gnu
Thread model: posix
InstalledDir: /work/slave/test-lnt/build/compiler/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.

-- 
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/20170330/52ebd424/attachment.html>


More information about the llvm-bugs mailing list