diff options
| author | Mark Seaborn <mseaborn@chromium.org> | 2013-05-29 22:38:25 -0700 |
|---|---|---|
| committer | Mark Seaborn <mseaborn@chromium.org> | 2013-05-29 22:38:25 -0700 |
| commit | cfcccc95343088d7d73e0d7be1da5d4c5de57e49 (patch) | |
| tree | bf9a01095ef9f77811e1f3fc68b6feee048cbe88 /lib/Transforms/NaCl/PNaClABISimplify.cpp | |
| parent | 69671d8bdefb36d637a20efae3f3e5cec297fb40 (diff) | |
Revert "Enable integer promotion pass and enable ABI check for integer types."
This reverts commit dc58e24a36836fc19c534bdcbef5152717a3c3fc.
That change broke the build of the sandboxed PNaCl translator.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3360
TEST=PNaCl toolchain trybots
TBR=dschuff@chromium.org
Review URL: https://codereview.chromium.org/15845009
Diffstat (limited to 'lib/Transforms/NaCl/PNaClABISimplify.cpp')
| -rw-r--r-- | lib/Transforms/NaCl/PNaClABISimplify.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/NaCl/PNaClABISimplify.cpp b/lib/Transforms/NaCl/PNaClABISimplify.cpp index 71f0f23000..47e5fb67e6 100644 --- a/lib/Transforms/NaCl/PNaClABISimplify.cpp +++ b/lib/Transforms/NaCl/PNaClABISimplify.cpp @@ -60,9 +60,6 @@ void llvm::PNaClABISimplifyAddPostOptPasses(PassManager &PM) { // We should not place arbitrary passes after ExpandConstantExpr // because they might reintroduce ConstantExprs. PM.add(createExpandConstantExprPass()); - // PromoteIntegersPass does not handle constexprs and creates GEPs, - // so it goes between those passes. - PM.add(createPromoteIntegersPass()); // ExpandGetElementPtr must follow ExpandConstantExpr to expand the // getelementptr instructions it creates. PM.add(createExpandGetElementPtrPass()); |
