[LLVMbugs] [Bug 9800] New: missed ARM optimization: use LDMIA

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 27 04:10:51 PDT 2011


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

           Summary: missed ARM optimization: use LDMIA
           Product: new-bugs
           Version: 2.9
          Platform: Other
               URL: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48789
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6507)
 --> (http://llvm.org/bugs/attachment.cgi?id=6507)
reverse.c

See GCC bug in $URL, LLVM has same issue:

clang -cc1 -O3 reverse.c  -triple arm-elf -target-cpu arm946e-s -S -o -

Generates too many ldr/str instructions, it should use LDMIA as shown in
hand-optimized version:
http://gcc.gnu.org/bugzilla/attachment.cgi?id=24115

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