Chromium Code Reviews| 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()); |