[PATCH] D91784: [RISCV] Set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_x defines

Jessica Clarke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 19 04:47:33 PST 2020


jrtc27 accepted this revision.
jrtc27 added reviewers: asb, lenary, luismarques.
jrtc27 added a comment.
This revision is now accepted and ready to land.

This seems correct. GCC doesn't define the 1 and 2 variants but it implements those with libcalls rather than inline like LLVM so that's to be expected, just something to be aware of.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91784/new/

https://reviews.llvm.org/D91784



More information about the cfe-commits mailing list