<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - Crash when using SLP vectorizer while cross-compiling for BlueGene/Q (powerpc64-bgq-linux)"
href="http://llvm.org/bugs/show_bug.cgi?id=17670">17670</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash when using SLP vectorizer while cross-compiling for BlueGene/Q (powerpc64-bgq-linux)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>michael.schlottke@sloede.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The SLP vectorizer seems to crash during a cross compilation for BlueGene/Q. If
I set -fno-slp-vectorize, the compilation finishes withour errors. Other
optimization flags I used are "-O3 -DNDEBUG -g -mtune=native -fvectorize". This
happens with clang from trunk (r190771)
This is the error message:
fatal error: error in backend: Cannot select: 0x1004a29e9b0: v4f32 = uint_to_fp
0x1004b98ca10 [ORD=124469] [ID=81] dbg:zfsfvpartcont.cpp:7761
0x1004b98ca10: v4i1 = setcc 0x1004b98bc00, 0x1004c256fe0, 0x1004b9f2c00
[ORD=124468] [ID=79] dbg:zfsfvpartcont.cpp:7760
0x1004b98bc00: v4f64 = llvm.ppc.qpx.qvfcfidu 0x1004a2d3c20, 0x1004c2659d0
[ORD=124468] [ID=77] dbg:zfsfvpartcont.cpp:7760
0x1004a2d3c20: i32 = Constant<2256> [ID=34]
0x1004c2659d0: v4f64,ch = llvm.ppc.qpx.qvlfiwz 0x1004b98aef0,
0x1004b98c300, 0x1004b98c000 [ORD=124468] [ID=74] dbg:zfsfvpartcont.cpp:7760
0x1004b98c300: i32 = Constant<2316> [ID=33]
0x1004b98c000: i64 = FrameIndex<5> [ID=31]
0x1004c256fe0: v4f64,ch = load 0x1004735d030, 0x1004c265ad0,
0x1004b98cd10<LD32[ConstantPool]> [ORD=124468] [ID=58]
dbg:zfsfvpartcont.cpp:7760
0x1004c265ad0: i64 = PPCISD::TOC_ENTRY 0x1004bb007c0, 0x1004b9f2a00
[ID=51]
0x1004bb007c0: i64 = TargetConstantPool<<4 x double> zeroinitializer> 0
[ID=38]
0x1004b9f2a00: i64 = Register %X2 [ID=36]
0x1004b98cd10: i64 = undef [ID=6]
In function:
_ZN13ZFSFvPartCont18wallCollisionCheckERNSt3__14listINS_10collStructENS0_9allocatorIS2_EEEENS0_15__list_iteratorI13ZFSFvParticlePvEE
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.4 (trunk)
Target: powerpc64-bgq-linux
Thread model: posix</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>