[llvm-bugs] [Bug 27879] New: ICE on trunk llvm (Invalid operands for select instruction)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 25 10:23:50 PDT 2016


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

            Bug ID: 27879
           Summary: ICE on trunk llvm (Invalid operands for select
                    instruction)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anton.mitrokhin at phystech.edu
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16418
  --> https://llvm.org/bugs/attachment.cgi?id=16418&action=edit
Reproducer

Run:
> clang++ -std=c++11 -O3 -fslp-vectorize-aggressive -o out.o -c crash.cpp

Output:
Invalid operands for select instruction!
  %8 = select <2 x i1> %7, <8 x i16> <i16 -2, i16 -2, i16 -2, i16 -2, i16 -2,
i16 -2, i16 -2, i16 -2>, <8 x i16> <i16 -3, i16 -3, i16 -3, i16 -3, i16 -3, i16
-3, i16 -3, i16 -3>
fatal error: error in backend: Broken function found, compilation aborted!
clang-3.9: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.9.0 (trunk 270685)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /export/users/amitrokh/llvm/bin-trunk/bin
clang-3.9: 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-3.9: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.9: note: diagnostic msg: /tmp/crash-6cb565.cpp
clang-3.9: note: diagnostic msg: /tmp/crash-6cb565.sh
clang-3.9: note: diagnostic msg:

********************


> clang -v:
clang version 3.9.0 (trunk 270685)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /export/users/amitrokh/llvm/bin-trunk/bin
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/i686-redhat-linux/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64

-- 
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/20160525/89a79637/attachment.html>


More information about the llvm-bugs mailing list