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

Unified Diff: lib/IR/NaClAtomicIntrinsics.cpp

Issue 22474008: Add the new @llvm.nacl.atomic.fence.all intrinsic (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: lib/IR/NaClAtomicIntrinsics.cpp
diff --git a/lib/IR/NaClAtomicIntrinsics.cpp b/lib/IR/NaClAtomicIntrinsics.cpp
index 5f463380c477e09769738082c071386e6b93e7c3..02fe295fad11cfae5aca5c050b04cc7e20ce7ffa 100644
--- a/lib/IR/NaClAtomicIntrinsics.cpp
+++ b/lib/IR/NaClAtomicIntrinsics.cpp
@@ -55,6 +55,7 @@ AtomicIntrinsics::AtomicIntrinsics(LLVMContext &C) {
INIT(RMW, Ptr, Int, Mem, NoP, rmw);
INIT(Ptr, Int, Int, Mem, Mem, cmpxchg);
INIT(Mem, NoP, NoP, NoP, NoP, fence);
jvoung (off chromium) 2013/08/07 19:38:40 I think I brought this up before -- it seems a bit
JF 2013/08/07 19:55:21 I can make a "default overload type" for the funct
jvoung (off chromium) 2013/08/07 22:32:11 ok that's fine
JF 2013/08/07 22:47:41 https://code.google.com/p/nativeclient/issues/deta
+ INIT(NoP, NoP, NoP, NoP, NoP, fence_all);
}
AtomicIntrinsics::View AtomicIntrinsics::allIntrinsicsAndOverloads() const {

Powered by Google App Engine
This is Rietveld 408576698