[LLVMbugs] [Bug 4542] New: target-dependent optimization with unspecified target

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jul 12 01:56:05 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4542

           Summary: target-dependent optimization with unspecified target
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ubub at gmx.net
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3183)
 --> (http://llvm.org/bugs/attachment.cgi?id=3183)
example

hi,
while migrating my program that utilizes the llvm toolchain from version 2.3 to
2.5, opt introduces a optimization of GEPs that seems to be target-dependent,
but neither the target is specified in the IR nor on the command-line nor does
it match the pointer-size of the current platform.

I'm using the precompiled "LLVM Binaries for Mingw32/x86" on 32-bit Windows.

As an example I've attached the source IR and the optimized version with and
without a target datalayout.


best regards
tobias


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list