]> granicus.if.org Git - clang/commit
CodeGen: add __yield intrinsic for ARM
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 25 Apr 2014 21:13:29 +0000 (21:13 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 25 Apr 2014 21:13:29 +0000 (21:13 +0000)
commita7b80b7a8fecae3d9d0d2691e83617400abf5919
tree46a6fbe2b37784488d08fefd806a44e9fe08abb0
parent5c292523a18257c66c513f8a7f785b843d5596e6
CodeGen: add __yield intrinsic for ARM

The __yield intrinsic generates a hint instruction to indicate that the thread
is not performing any useful operations at the moment.  This is for
compatibility with MSVC, although, the intrinsic is also part of the ACLE, and
is enabled globally as a result.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207275 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsARM.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-arm-microsoft.c [new file with mode: 0644]