<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 --- - -slp-vectorizer crash"
href="http://llvm.org/bugs/show_bug.cgi?id=18129">18129</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>-slp-vectorizer crash
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rafael.espindola@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>joerg@NetBSD.org, llvmbugs@cs.uiuc.edu, nrotem@apple.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=11656" name="attach_11656" title="testcase">attachment 11656</a> <a href="attachment.cgi?id=11656&action=edit" title="testcase">[details]</a></span>
testcase
The attached testcase crashes with
$ ./build/bin/opt -S test2.ll -o test3.ll -slp-vectorizer
Instruction does not dominate all uses!
%9 = fadd <2 x float> %6, %8
%2 = extractelement <2 x float> %9, i32 1
Broken module found, compilation aborted!
0 opt 0x000000010c6432a8
llvm::sys::PrintStackTrace(__sFILE*) + 40
1 opt 0x000000010c6437a4 SignalHandler(int) + 564
2 libsystem_platform.dylib 0x00007fff8869f5aa _sigtramp + 26
3 libsystem_platform.dylib 0x0000000000002800 _sigtramp + 2006332016
4 opt 0x000000010c643556 abort + 22
5 opt 0x000000010c56aea4 (anonymous
namespace)::Verifier::abortIfBroken() + 564
6 opt 0x000000010c56a8ed (anonymous
namespace)::Verifier::runOnFunction(llvm::Function&) + 1821
7 opt 0x000000010c54827d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 333
8 opt 0x000000010c54850b
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9 opt 0x000000010c548b3c
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1148
10 opt 0x000000010b917f44 main + 7940
11 libdyld.dylib 0x00007fff9041a5fd start + 1
Stack dump:
0. Program arguments: ./build/bin/opt -S test2.ll -o test3.ll
-slp-vectorizer
1. Running pass 'Function Pass Manager' on module 'test2.ll'.
2. Running pass 'Module Verifier' on function '@fn1'</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>