__nvvm_atom_cas_* returns the old value instead of whether the swap succeeds.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D13306
[CUDA] fix codegen for __nvvm_atom_cas_* ClosedPublic Authored by jingyue on Sep 30 2015, 2:13 PM.
Details Summary __nvvm_atom_cas_* returns the old value instead of whether the swap succeeds.
Diff Detail Event Timelinejingyue updated this object. This revision is now accepted and ready to land.Sep 30 2015, 2:33 PM
Revision Contents
Diff 36143 lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-nvptx.c
|