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

             Bug #: 13804
           Summary: llvm-mc does not simplify stm/ldm when only one source
                    register
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


The ARM backend is not simplifying 'stm' and 'ldm' instructions when there is
only one source register.

Currently:
  stmia.w r0, {r1}

Could rewrite as:
  str.w r1, [r0]



And likewise, currently:
  stmia.w r0!, {r1}

Could rewrite as:
  str r1, [r0], #4

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