-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagquality-of-implementation
Description
| Bugzilla Link | 1311 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:52 |
| Version | trunk |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
I ran "llvm-ld -O4" on some bytecode I had to hand, and noticed the
following in the result:
%tmp3.i = load i8* getelementptr
(%struct.system__restrictions__rident__restrictions_info*
@system__restrictions__run_time_restrictions, i32 0, i32 2, i32 1) ;
[#uses=1]
icmp eq i8 %tmp3.i, 0 ; :0 [#uses=0]
The second line is the only use of the first line, and the
second line has no uses! "opt -dce" cleans this up, so presumably
llvm-ld could do with an extra dce pass.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagAll llvm tools that do not have corresponding tagquality-of-implementation