https://llvm.org/bugs/show_bug.cgi?id=30298
Bug ID: 30298 Summary: Compiling libx264 (target-cpu i686 +sse): Do not know how to custom type legalize this operation! Product: new-bugs Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: dimi...@andric.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Building libx264 from the FreeBSD ports collection with clang 3.9.0 release, on a 32-bit host, enabling SSE, results in: clang -Wshadow -O3 -ffast-math -m32 -O2 -pipe -isystem /usr/local/include -fstack-protector -fno-strict-aliasing -Wall -I. -I. -isystem /usr/local/include -O2 -pipe -isystem /usr/local/include -fstack-protector -fno-strict-aliasing -march=i686 -mfpmath=sse -msse -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize -isystem /usr/local/include -c -o common/pixel.o common/pixel.c Do not know how to custom type legalize this operation! UNREACHABLE executed at /share/dim/src/freebsd/base/projects/clang390-import/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp:21834! This also occurs with trunk r280722, but not with 3.8.0 release, so it a regression. Minimized test case: // clang -cc1 -triple i386 -S -target-cpu i686 -target-feature +sse -O2 -w -vectorize-slp testcase.c char *a, *b; e; static fn1(long long *p1, long long *p2) { for (;;) { int c = a[0] - b[0], d = a[1] - b[1]; *p1 += c * c; *p2 += d * d; } } fn2() { fn1(fn2, &e); } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs