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

           Summary: ARM backend miscompiles indirect call
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

To reproduce:

llvm-as bug.ll && llc -march=arm bug.bc && cat bug.s

The indirect call in the testcase is compiled as:

mov     lr, pc
bx      lr

which skips the call.


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