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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to