Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: test/CodeGen/linux-arm-atomic.c

Issue 184973004: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-clang.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/Sema/SemaTemplateInstantiateDecl.cpp ('k') | test/CodeGenCXX/throw-expressions.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=armv7-unknown-linux | FileCheck %s
2 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=armv6-unknown-linux | FileCheck %s
3 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=thumbv7-unknown-linux | FileCheck %s
4
5 typedef int _Atomic_word;
6 _Atomic_word exchange_and_add(volatile _Atomic_word *__mem, int __val) {
7 return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL);
8 }
9
10 // CHECK: define {{.*}} @exchange_and_add
11 // CHECK: atomicrmw {{.*}} add
OLDNEW
« no previous file with comments | « lib/Sema/SemaTemplateInstantiateDecl.cpp ('k') | test/CodeGenCXX/throw-expressions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698