<html>
<head>
<base href="https://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 --- - Bugpoint enhancement: Simplify pointer types"
href="https://llvm.org/bugs/show_bug.cgi?id=29028">29028</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bugpoint enhancement: Simplify pointer types
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>bugpoint
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matze@braunis.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>It is often possible to simplify pointer types to further simplify the output.
Example:
I had a case where instead of this:
%"class.llvm::ilist_node.271.331.53909.117119.330.3340.3942.4544.6350.9962.12644"
= type {
%"struct.llvm::ilist_node_base.106.53685.116895.106.3116.3718.4320.6126.9738.12643"
}
%"struct.llvm::ilist_node_base.106.53685.116895.106.3116.3718.4320.6126.9738.12643"
= type {
%"class.llvm::PointerIntPair.0.105.53684.116894.105.3115.3717.4319.6125.9737.12642",
%"struct.llvm::ilist_node_base.106.53685.116895.106.3116.3718.4320.6126.9738.12643"*
}
%"class.llvm::PointerIntPair.0.105.53684.116894.105.3115.3717.4319.6125.9737.12642"
= type { i64 }
...
%cmp.i202 = icmp eq
%"class.llvm::ilist_node.271.331.53909.117119.330.3340.3942.4544.6350.9962.12644"*
undef, undef
This would do and save a bunch of type declarations:
%cmp.i202 = icmp eq i8* undef, undef</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>