aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDan Gohman <sunfish@google.com>2014-02-12 18:09:07 -0800
committerDan Gohman <sunfish@google.com>2014-02-12 18:16:37 -0800
commitefc65c9a54d6bd6f20bed5cc19b058aa1d7c3a3a (patch)
treedc0206d5ead70734022c3e402448a86f38c0fe13 /lib/Transforms
parent79bc47ed6c19a1a4e0e29d9cb7f063ad5837e184 (diff)
Disable an unnecessary optimization pass.
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index 5689556f21..1cde8897f2 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -150,7 +150,9 @@ void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) {
// Eliminate simple dead code that the post-opt passes could have
// created.
+#if 0 // EMSCRIPTEN: There's no point in running this since we're running DeadCodeElimination right after.
PM.add(createDeadInstEliminationPass());
+#endif
PM.add(createDeadCodeEliminationPass());
PM.add(createExpandI64Pass()); // EMSCRIPTEN // FIXME: move this before the dce stuff here