<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compiler crash on AArch64-linux on test-suite MultiSource/Benchmarks/MiBench with -global-isel-abort=2"
   href="http://bugs.llvm.org/show_bug.cgi?id=32471">32471</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiler crash on AArch64-linux on test-suite MultiSource/Benchmarks/MiBench with -global-isel-abort=2
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>GlobalISel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kristof.beyls@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>