[llvm-bugs] [Bug 29028] New: Bugpoint enhancement: Simplify pointer types
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 17 19:14:33 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29028
Bug ID: 29028
Summary: Bugpoint enhancement: Simplify pointer types
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: bugpoint
Assignee: unassignedbugs at nondot.org
Reporter: matze at braunis.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160818/afe7d3bc/attachment-0001.html>
More information about the llvm-bugs
mailing list