[LLVMbugs] [Bug 13804] New: llvm-mc does not simplify stm/ldm when only one source register

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 9 17:25:31 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: gregf at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list