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


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

Reply via email to