[LLVMbugs] [Bug 2922] New: Bad codegen in LLVM JIT on ppc.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Oct 20 11:15:58 PDT 2008


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

           Summary: Bad codegen in LLVM JIT on ppc.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jlerouge at apple.com
                CC: llvmbugs at cs.uiuc.edu


The attached IR generates bad output when going through lli. llc output is
fine.

$ lli ppc-globals.bc
Result: 43

$ llc -march=ppc32 -f -o ppc-globals.S ppc-globals.bc 
$ gcc -o ppc-globals ppc-globals.S 
$ ./ppc-globals 
Result: 50

Issue seems to have appeared between rev 57669 and 57773, possibly related to
57748 (fold constant offsets into GlobalAddress nodes) ?

Thanks,
Julien


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