diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2008-06-14 05:48:15 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2008-06-14 05:48:15 +0000 |
commit | 507a58ac9b20ddcea2e56a014be26b8f8cc0ecb8 (patch) | |
tree | 53d5d29cee43a7eb314904ce4ada56e735f3efea /include/llvm/Intrinsics.td | |
parent | c5dc660ea0b153904de601eadd40fa4962c8c71c (diff) | |
download | llvm-507a58ac9b20ddcea2e56a014be26b8f8cc0ecb8.tar.gz llvm-507a58ac9b20ddcea2e56a014be26b8f8cc0ecb8.tar.bz2 llvm-507a58ac9b20ddcea2e56a014be26b8f8cc0ecb8.tar.xz |
add missing atomic intrinsic from gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Intrinsics.td')
-rw-r--r-- | include/llvm/Intrinsics.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td index 633063eb48..18c42e41f8 100644 --- a/include/llvm/Intrinsics.td +++ b/include/llvm/Intrinsics.td @@ -302,6 +302,11 @@ def int_atomic_load_xor : Intrinsic<[llvm_anyint_ty, LLVMMatchType<0>], [IntrWriteArgMem]>, GCCBuiltin<"__sync_fetch_and_xor">; +def int_atomic_load_nand : Intrinsic<[llvm_anyint_ty, + LLVMPointerType<LLVMMatchType<0>>, + LLVMMatchType<0>], + [IntrWriteArgMem]>, + GCCBuiltin<"__sync_fetch_and_nand">; def int_atomic_load_min : Intrinsic<[llvm_anyint_ty, LLVMPointerType<LLVMMatchType<0>>, LLVMMatchType<0>], |