[llvm-bugs] [Bug 3877] ARM: CodeGen fails to legalize AtomicCmpSwap
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 22 08:36:05 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=3877
John Brawn <john.brawn at arm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |john.brawn at arm.com
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from John Brawn <john.brawn at arm.com> ---
This was fixed long ago. With LLVM 3.5.0 and later I can compile the following:
define i32 @fn(i32 *%ptr, i32 %cmp, i32 %new) {
%val = cmpxchg i32* %ptr, i32 %cmp, i32 %new acq_rel monotonic
%ret = extractvalue { i32, i1 } %val, 0
ret i32 %ret
}
with no problems.
--
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/20190822/1e8e3334/attachment-0001.html>
More information about the llvm-bugs
mailing list