<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Fix ldrexd/strexd miscompilation in the ARM backend on Cortex-M"
href="https://bugs.llvm.org/show_bug.cgi?id=49047">49047</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Fix ldrexd/strexd miscompilation in the ARM backend on Cortex-M
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aykevanlaethem@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>48902
</td>
</tr></table>
<p>
<div>
<pre>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
<a href="https://reviews.llvm.org/rGaecdf15cc7f866180dc769265b8183cad34bb33a">https://reviews.llvm.org/rGaecdf15cc7f866180dc769265b8183cad34bb33a</a>. It would
be great to have this fix in LLVM 12 too (I discovered this issue only a few
days after the branch).</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [meta] 12.0.0 Release Blockers"
href="https://bugs.llvm.org/show_bug.cgi?id=48902">Bug 48902</a>] [meta] 12.0.0 Release Blockers
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>