[llvm-commits] [PATCH] Fix operand ordering for atomicrmw min/max on ARM

James Molloy James.Molloy at arm.com
Tue Sep 25 02:01:40 PDT 2012


Ping.

On Fri, 2012-09-21 at 11:25 +0100, James Molloy wrote:
> Hi,
>
> Currently, the code sequences emitted for atomicrmw {umin,umax,min,max}
> on ARM are incorrect, because the operands for one of the constituent
> instructions are emitted in the wrong order. This causes min to behave
> like max and vice versa.
>
> The attached trivial patch fixes this, and adds some better testing to
> check for regression.
>
> OK to commit?
>
> Cheers,
>
> James


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




More information about the llvm-commits mailing list