Index: lib/Transforms/NaCl/PNaClABISimplify.cpp |
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp |
index 37504517d6569c93d6c219ba7600a175302b082e..47e5fb67e6f46cff15f6c71364ebbe1d78c22e4c 100644 |
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp |
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp |
@@ -28,6 +28,7 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { |
// Remove landingpad blocks made unreachable by LowerInvoke. |
PM.add(createCFGSimplificationPass()); |
+ PM.add(createExpandArithWithOverflowPass()); |
PM.add(createExpandVarArgsPass()); |
PM.add(createExpandCtorsPass()); |
PM.add(createResolveAliasesPass()); |