aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/NaCl/PNaClABISimplify.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-12-04 19:56:40 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-12-04 19:56:40 -0500
commitfa828f4a179f561a872b683ba7ff02fba47b62d2 (patch)
treefd27628f852a4ea4eada50332db1d669e845e137 /lib/Transforms/NaCl/PNaClABISimplify.cpp
parent82307b1c5b914e45b400aa5721688714adce18e7 (diff)
begin to legalize i64 sext
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
-rw-r--r--lib/Transforms/NaCl/PNaClABISimplify.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp
index 013c03550d..38d8ae0a40 100644
--- a/lib/Transforms/NaCl/PNaClABISimplify.cpp
+++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp
@@ -143,4 +143,7 @@ void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) {
// created.
PM.add(createDeadInstEliminationPass());
PM.add(createDeadCodeEliminationPass());
+
+ PM.add(createExpandI64Pass()); // EMSCRIPTEN // FIXME: move this before the dce stuff here
}
+