[cfe-commits] r154659 - in /cfe/trunk: include/clang/Basic/Builtins.def lib/AST/Expr.cpp lib/CodeGen/CGExpr.cpp lib/Sema/SemaChecking.cpp test/CodeGen/atomic-ops.c

Chris Lattner clattner at apple.com
Fri Apr 13 10:23:26 PDT 2012


On Apr 12, 2012, at 11:31 PM, Richard Smith wrote:
> Author: rsmith
> Date: Fri Apr 13 01:31:38 2012
> New Revision: 154659
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=154659&view=rev
> Log:
> Implement __atomic_fetch_nand and __atomic_nand_fetch to complete our set of
> GNU __atomic builtins.

I'm not opposed to this, but there is a reason that we didn't support the nand builtins.  Old versions of gcc implemented nand "wrong", and then they fixed it in more recent versions of gcc.  Please make sure that this is following gcc mainline.

-Chris



More information about the cfe-commits mailing list