[PATCH] CodeGen: improve ms instrincics support

Saleem Abdulrasool abdulras at fb.com
Tue Jun 17 13:47:08 PDT 2014


Hi rnk, whunt,

Add support for _InterlockedCompareExchangePointer, _InterlockExchangePointer,
_InterlockExchange.  These are available as a compiler intrinsic on ARM and x86.

http://reviews.llvm.org/D4182

Files:
  include/clang/Basic/Builtins.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Sema/SemaChecking.cpp
  test/CodeGen/ms-intrinsics.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4182.10512.patch
Type: text/x-patch
Size: 4603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140617/21c9bab8/attachment.bin>


More information about the cfe-commits mailing list