From eaddc5d650f87a861ebdc6d3c49fb155ec791306 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 25 Feb 2014 19:22:12 -0800 Subject: Implement llvm.flt.rounds and disable the createRewriteLLVMIntrinsicsPass pass. --- lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Transforms') diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp index 1ed0d7841a..41dd2f58fd 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -61,8 +61,10 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { // LowerExpect converts Intrinsic::expect into branch weights, // which can then be removed after BlockPlacement. PM.add(createLowerExpectIntrinsicPass()); +#if 0 // XXX EMSCRIPTEN: We don't need this. // Rewrite unsupported intrinsics to simpler and portable constructs. PM.add(createRewriteLLVMIntrinsicsPass()); +#endif // Expand out some uses of struct types. PM.add(createExpandArithWithOverflowPass()); -- cgit v1.2.3-70-g09d2