<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Invalid CodeGen for bool vectors"
href="https://bugs.llvm.org/show_bug.cgi?id=40424">40424</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Invalid CodeGen for bool vectors
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>7.0
</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>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bique.alexandre@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21366" name="attach_21366" title="bool-vector-0.nitro.llvm-ir">attachment 21366</a> <a href="attachment.cgi?id=21366&action=edit" title="bool-vector-0.nitro.llvm-ir">[details]</a></span>
bool-vector-0.nitro.llvm-ir
Hi,
I found that there is invalid CodeGen for bool vectors, even before the
lowering.
Please see the attached LLVM IR.
I compiled it with:
opt -O3 -march=native <bool-vector-0.nitro.llvm-ir -o tutu.bc
llvm-dis tutu.bc
And then cat tutu.ll gives the following output:
; ModuleID = 'tutu.bc'
source_filename = "<stdin>"
; Function Attrs: norecurse nounwind readnone
define i1 @compute(<8 x float> %in) local_unnamed_addr #0 {
ret i1 true
}
attributes #0 = { norecurse nounwind readnone }
Which is *wrong*.
Regards,
Alex</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>