[LLVMbugs] [Bug 6401] New: llvm-ld should optimize for the target it is compiling for

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 22 23:32:23 PST 2010


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

           Summary: llvm-ld should optimize for the target it is compiling
                    for
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: llvm-ld
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stein at ir.iit.edu
                CC: llvmbugs at cs.uiuc.edu


Currently, if BitCode does not have a target set in it,
llvm-ld -native
will use the default target, and optimize for that,
then compile for its target, which may be different.
Instead, it would make much more sense if it only
used the target it was compiling for, even if that
is different from that specified in the BitCode.

Though, if the BitCode target and llvm-ld target
explicitly disagree, that should probably have a warning.

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