<div dir="ltr"><div class="gmail_extra">On Tue, Aug 1, 2017 at 1:40 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK, the bug is in these lines in AArch64InstrAtomics.td:<br>
<br><br>
+ def : Pat<(!cast<SDNode>(op#"_"#<wbr>size#"_acquire") GPR64sp:$Rn, SrcRHS),<br>
+ (!cast<Instruction>(inst#<wbr>suffix) DstRHS, GPR64sp:$Rn)>;<br><br>
When pasting together the destination instruction you need to add the<br>
A/L modifiers to the non-monotonic cases. E.g.<br>
'!cast<Instruction>(inst # "A" # suffix)' for the acquire operation.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br><div style="font-family:verdana,sans-serif" class="gmail_default">Yes, that was it! Thank you!</div><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Stefan Teleman<br><a href="mailto:stefan.teleman@gmail.com" target="_blank">stefan.teleman@gmail.com</a></div></div></div>
</div></div>