diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2015-12-10 19:23:02 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2015-12-10 19:23:02 +0000 |
commit | 843c7b43090dab4879e6a39a94ccad17c835a545 (patch) | |
tree | 1bc2b630296bbe3e833dae0818889b30700fc31f | |
parent | e8c18a1bd16057aa5e9658ff7f32372680887aec (diff) | |
download | bcm5719-llvm-843c7b43090dab4879e6a39a94ccad17c835a545.tar.gz bcm5719-llvm-843c7b43090dab4879e6a39a94ccad17c835a545.zip |
[DSE] Disable non-local DSE to see if the bots go green.
I see a few bots timing out, so I'm speculatively disabling r255247.
llvm-svn: 255286
5 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp index ba7e98f17b8..e6996ab97a8 100644 --- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp +++ b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp @@ -43,7 +43,7 @@ STATISTIC(NumFastStores, "Number of stores deleted"); STATISTIC(NumFastOther , "Number of other instrs removed"); STATISTIC(NumNonLocalStores, "Number of non-local stores deleted"); -static cl::opt<bool> EnableNonLocalDSE("enable-nonlocal-dse", cl::init(true)); +static cl::opt<bool> EnableNonLocalDSE("enable-nonlocal-dse", cl::init(false)); /// MaxNonLocalAttempts is an arbitrary threshold that provides /// an early opportunitiy for bail out to control compile time. diff --git a/llvm/test/Transforms/DeadStoreElimination/ifthen.ll b/llvm/test/Transforms/DeadStoreElimination/ifthen.ll index 5fb1d3e7e51..21c87f89256 100644 --- a/llvm/test/Transforms/DeadStoreElimination/ifthen.ll +++ b/llvm/test/Transforms/DeadStoreElimination/ifthen.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -dse -S | FileCheck %s +; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s ; The store and add in if.then block should be removed by non-local DSE. ; CHECK-NOT: %stval = add diff --git a/llvm/test/Transforms/DeadStoreElimination/ifthenelse.ll b/llvm/test/Transforms/DeadStoreElimination/ifthenelse.ll index 5ebbff887f7..59ef17e37a5 100644 --- a/llvm/test/Transforms/DeadStoreElimination/ifthenelse.ll +++ b/llvm/test/Transforms/DeadStoreElimination/ifthenelse.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -dse -S | FileCheck %s +; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s ; The add and store in entry block should be removed by non-local DSE. ; CHECK-NOT: %stval = add diff --git a/llvm/test/Transforms/DeadStoreElimination/ifthenelse2.ll b/llvm/test/Transforms/DeadStoreElimination/ifthenelse2.ll index 7c95cfd089b..7aab0300477 100644 --- a/llvm/test/Transforms/DeadStoreElimination/ifthenelse2.ll +++ b/llvm/test/Transforms/DeadStoreElimination/ifthenelse2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -dse -S | FileCheck %s +; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s ; The add and store in entry block should be removed by non-local DSE. ; CHECK-NOT: %stval = add diff --git a/llvm/test/Transforms/DeadStoreElimination/loop.ll b/llvm/test/Transforms/DeadStoreElimination/loop.ll index 80bd8529ad4..941e6fafaf3 100644 --- a/llvm/test/Transforms/DeadStoreElimination/loop.ll +++ b/llvm/test/Transforms/DeadStoreElimination/loop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -basicaa -dse -S | FileCheck %s +; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s ; The store in for.body block should be removed by non-local DSE. ; CHECK-NOT: store i32 0, i32* %arrayidx |