diff options
author | Dan Gohman <sunfish@mozilla.com> | 2014-03-05 19:04:42 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2014-03-05 19:04:42 -0800 |
commit | 0e03f9e9cecf388df2e3d19139be0a9faca63672 (patch) | |
tree | ceb80485c07e3ecc3444bae195b898c62878216c /lib | |
parent | ed9def75db9dbefd6b5a1f877d74fef8cc5fc720 (diff) |
Disable the LowerExpectIntrinsic pass.
Diffstat (limited to 'lib')
-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 a78bf3ef40..5678ffaa7f 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -60,7 +60,9 @@ void llvm::PNaClABISimplifyAddPreOptPasses(PassManager &PM) { // LowerExpect converts Intrinsic::expect into branch weights, // which can then be removed after BlockPlacement. +#if 0 // XXX EMSCRIPTEN: We support the expect intrinsic. PM.add(createLowerExpectIntrinsicPass()); +#endif #if 0 // XXX EMSCRIPTEN: We don't need this. // Rewrite unsupported intrinsics to simpler and portable constructs. PM.add(createRewriteLLVMIntrinsicsPass()); |