[llvm-bugs] [Bug 49047] New: Fix ldrexd/strexd miscompilation in the ARM backend on Cortex-M

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 4 13:21:49 PST 2021


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

            Bug ID: 49047
           Summary: Fix ldrexd/strexd miscompilation in the ARM backend on
                    Cortex-M
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: aykevanlaethem at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 48902

I discovered an issue in the ARM backend: it was emitting ldrexd/strexd
instructions even for Cortex-M microcontrollers which don't have these
instructions.

This is fixed in
https://reviews.llvm.org/rGaecdf15cc7f866180dc769265b8183cad34bb33a. It would
be great to have this fix in LLVM 12 too (I discovered this issue only a few
days after the branch).


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=48902
[Bug 48902] [meta] 12.0.0 Release Blockers
-- 
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/20210204/3b18c687/attachment-0001.html>


More information about the llvm-bugs mailing list