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: unassignedb...@nondot.org Reporter: ma...@braunis.de CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs