[cfe-commits] r154514 - /cfe/trunk/test/CodeGenCXX/atomicinit.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Wed Apr 11 11:00:46 PDT 2012
Author: rsmith
Date: Wed Apr 11 13:00:46 2012
New Revision: 154514
URL: http://llvm.org/viewvc/llvm-project?rev=154514&view=rev
Log:
Update recently-added test to use new __c11_ form of atomic builtins.
Modified:
cfe/trunk/test/CodeGenCXX/atomicinit.cpp
Modified: cfe/trunk/test/CodeGenCXX/atomicinit.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/atomicinit.cpp?rev=154514&r1=154513&r2=154514&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/atomicinit.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/atomicinit.cpp Wed Apr 11 13:00:46 2012
@@ -21,5 +21,5 @@
// CHECK: define void @_Z11atomic_initR1Ai
void atomic_init(A& a, int i) {
// CHECK-NOT: atomic
- __atomic_init(&b, B(i));
+ __c11_atomic_init(&b, B(i));
}
More information about the cfe-commits
mailing list