]> granicus.if.org Git - clang/commit
Promote atomic type sizes up to a power of two, capped by
authorJohn McCall <rjmccall@apple.com>
Thu, 7 Mar 2013 21:37:17 +0000 (21:37 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 7 Mar 2013 21:37:17 +0000 (21:37 +0000)
commit9eda3abe7e183b05834947391c0cdc291f4ee0d8
tree423816b735698663315497d61aa2a0987752bbfb
parentfafaaef243322b1e598a72d7dbfaf2ca0c139174
Promote atomic type sizes up to a power of two, capped by
MaxAtomicPromoteWidth.  Fix a ton of terrible bugs with
_Atomic types and (non-intrinsic-mediated) loads and stores
thereto.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176658 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/AST/ASTContext.cpp
lib/CodeGen/CGAtomic.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGValue.h
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.h
lib/CodeGen/CodeGenTypes.cpp
test/CodeGen/c11atomics-ios.c [new file with mode: 0644]
test/CodeGen/c11atomics.c