[LLVMbugs] [Bug 19972] Bad code generation in post-ra ARMLoadStoreOptimizer pass in thumb1 mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 10 10:41:21 PDT 2014


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

Moritz Roth <moritz.roth at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moritz.roth at arm.com
         Resolution|---                         |FIXED

--- Comment #1 from Moritz Roth <moritz.roth at arm.com> ---
Hi,

thanks for the report and helpful test case. Looks like this was caused by a
small mistake in the order of operations in the pass which lead to the base
register reset instruction (subs r0, #8) being emitted before the actual
LDM/STM.

I've created a patch at http://reviews.llvm.org/D4084 which should fix this.
It's been committed as rL210542.

Thanks 
Moritz

-- 
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/20140610/4fbeafb4/attachment.html>


More information about the llvm-bugs mailing list