[LLVMbugs] [Bug 1263] NEW: missed bitcast optimization

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 21 09:36:01 PDT 2007


           Summary: missed bitcast optimization
           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

In the attached .ll you can find:
        %tmp64 = bitcast i32* %tmp1 to { i32 }*         ; <{ i32 }*> [#uses=1]
        %tmp65 = getelementptr { i32 }* %tmp64, i32 0, i32 0            ; 
<i32*> [#uses=1]
Thus %tmp65 is equal to %tmp1, but the optimizers miss this.  This strange
construction was produced by llvm-convert, or so it seems.  I will try to
find out why it is being produced in the first place.

------- 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