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

Unified Diff: lib/Transforms/NaCl/PNaClABISimplify.cpp

Issue 17777004: Concurrency support for PNaCl ABI (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Created 7 years, 6 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/Transforms/NaCl/PNaClABISimplify.cpp
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index a85829eb3b37e96b6dd52a1519ab4e1825759534..e8b7602e87e19098baaf8ce8722011ca667f870f 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -82,6 +82,8 @@ void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) {
// ExpandGetElementPtr must follow ExpandConstantExpr to expand the
// getelementptr instructions it creates.
PM.add(createExpandGetElementPtrPass());
+ // Strip atomics replaces instructions with intrinsic calls.
Mark Seaborn 2013/06/26 14:33:41 "Strip atomics" - is this referring to an old name
JF 2013/06/26 15:52:29 Done.
+ PM.add(createFreezeAtomicsPass());
// ReplacePtrsWithInts assumes that getelementptr instructions and
// ConstantExprs have already been expanded out.
PM.add(createReplacePtrsWithIntsPass());

Powered by Google App Engine
This is Rietveld 408576698