[llvm-bugs] [Bug 50785] clang incorrectly produces ARM STM instead of STR in thumb mode

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 21 14:42:36 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50785

Eli Friedman <efriedma at quicinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Eli Friedman <efriedma at quicinc.com> ---
Found a related miscompile, pushed
https://github.com/llvm/llvm-project/commit/bf0d0671a1062aec973c14522d6accf0c438b92e
.  That isn't relevant to either of the commands you're trying, though.

Code is expected to indicate explicitly to the compiler when an access might be
unaligned.  The usual recommended patch to the code is to memcpy from the
buffer to a local variable, or vice versa.

-- 
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/20210621/4cb05e05/attachment.html>


More information about the llvm-bugs mailing list