[llvm-bugs] [Bug 19972] Bad code generation in post-ra ARMLoadStoreOptimizer pass in thumb1 mode
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Tue Jan 19 10:21:29 PST 2016
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=19972
Renato Golin <renato.golin at linaro.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |renato.golin at linaro.org
         Resolution|---                         |FIXED
--- Comment #7 from Renato Golin <renato.golin at linaro.org> ---
Trunk generates:
    push    {r7, lr}
    add    r7, sp, #0
    ldm    r0!, {r1, r2}
    subs    r0, #8
    bl    bar
    pop    {r7, pc}
which, while inefficient (the sub is unnecessary with no write-back), looks
correct.
If people feel strongly about reducing code size for that sequence in Thumb1,
please open a new enhancement bug.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160119/7132c5a4/attachment.html>
    
    
More information about the llvm-bugs
mailing list