<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 - TBAA information is absent for vector types"
href="https://bugs.llvm.org/show_bug.cgi?id=35702">35702</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TBAA information is absent for vector types
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sepavloff@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Run commands:
$ cat bug-01.c
typedef int __attribute__((vector_size(16))) v4si;
void func(v4si *p) {
v4si zero = { 0, 0, 0, 0 };
*p = zero;
}
$ clang -S -emit-llvm -O1 bug-01.c
The resulting .ll file contains:
define void @func(<4 x i32>* nocapture %p) local_unnamed_addr #0 {
entry:
store <4 x i32> zeroinitializer, <4 x i32>* %p, align 16, !tbaa !2
ret void
}
...
!2 = !{!3, !3, i64 0}
!3 = !{!"omnipotent char", !4, i64 0}
!4 = !{!"Simple C/C++ TBAA"}
Type information about pointer target is lost.</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>