[LLVMbugs] [Bug 1311] NEW: llvm-ld missing a dce pass
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Apr 5 04:20:07 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1311
Summary: llvm-ld missing a dce pass
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
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) ;
<i8> [#uses=1]
icmp eq i8 %tmp3.i, 0 ; <i1>: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.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list