diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-02-25 19:22:12 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-02-28 11:22:37 -0800 |
commit | eaddc5d650f87a861ebdc6d3c49fb155ec791306 (patch) | |
tree | d635a477ede94649247cc4104a36876b1fc750b5 /lib/Transforms | |
parent | 00b643e31badf20d270501e5ae15a17baa864c6f (diff) |
Implement llvm.flt.rounds and disable the createRewriteLLVMIntrinsicsPass pass.
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/NaCl/PNaClABISimplify.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |