<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 --- - Loop Vectorizer: Crashes with the use of llvm.loop.parallel metadata"
href="http://llvm.org/bugs/show_bug.cgi?id=15794">15794</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Loop Vectorizer: Crashes with the use of llvm.loop.parallel metadata
</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>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>Loop Optimizer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>muhammad.t.ahmad@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I have C code[1] that I compile to the LLVM IR[2] and manually add the
llvm.loop.parallel and llvm.mem.parallel_loop_access metadata and run `opt` on
like so:
$ opt test.ll -o - -loop-vectorize -force-vector-unroll=1 -force-vector-width=4
-dce -instcombine -S -debug
Running the above fails with the following error. I am not sure what is causing
this.
<a href="http://sprunge.us/AWRM">http://sprunge.us/AWRM</a>
[1] C Code:
<a href="http://sprunge.us/jIOU?c">http://sprunge.us/jIOU?c</a>
[2] LLVM IR:
<a href="http://sprunge.us/aTCI?llvm">http://sprunge.us/aTCI?llvm</a>
(I am using sprunge for this because it's a lot of code and not very readable
unless highlighted. If required, I can attach/paste the code here.)</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>