[llvm-bugs] [Bug 28329] New: Regression(273844:273857): Assertion failed: (VT.isVector() && !Operand.getValueType().isVector() && (VT.getVectorElementType() == Operand.getValueType() || (VT.getVectorElementType().isInteger() && Operand.getValueType().isInteger() && VT.getVectorElemen

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 27 07:33:00 PDT 2016


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

            Bug ID: 28329
           Summary: Regression(273844:273857): Assertion failed:
                    (VT.isVector() && !Operand.getValueType().isVector()
                    && (VT.getVectorElementType() ==
                    Operand.getValueType() ||
                    (VT.getVectorElementType().isInteger() &&
                    Operand.getValueType().isInteger() &&
                    VT.getVectorElemen
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

On very harmless vector code:

thakis-macpro:Release thakis$ cat repro.c
#include <emmintrin.h>

void vpx_lpf_horizontal_edge_8_sse2(unsigned char *s, int p) {
  __m128i q4p4;

  q4p4 = _mm_loadl_epi64((__m128i *)(s - 5 * p));
  q4p4 = _mm_castps_si128(_mm_loadh_pi(_mm_castsi128_ps(q4p4),
                                       (__m64 *)(s + 4 * p)));
}
thakis-macpro:Release thakis$ ~/src/llvm-build/bin/clang -isysroot $(xcrun
-show-sdk-path) -c repro.c
Assertion failed: (VT.isVector() && !Operand.getValueType().isVector() &&
(VT.getVectorElementType() == Operand.getValueType() ||
(VT.getVectorElementType().isInteger() && Operand.getValueType().isInteger() &&
VT.getVectorElementType().bitsLE(Operand.getValueType()))) && "Illegal
SCALAR_TO_VECTOR node!"), function getNode, file
/Users/thakis/src/llvm-rw/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 3209.
Stack dump:


This is on a Mac.

-- 
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/20160627/2cef28aa/attachment.html>


More information about the llvm-bugs mailing list