From: Chad Rosier Date: Thu, 10 Dec 2015 19:23:02 +0000 (+0000) Subject: [DSE] Disable non-local DSE to see if the bots go green. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=7d33195bda000e2af510fbc2ead504bcebaf7e97 [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255286 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/DeadStoreElimination.cpp b/lib/Transforms/Scalar/DeadStoreElimination.cpp index ba7e98f17b8..e6996ab97a8 100644 --- a/lib/Transforms/Scalar/DeadStoreElimination.cpp +++ b/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 EnableNonLocalDSE("enable-nonlocal-dse", cl::init(true)); +static cl::opt 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/test/Transforms/DeadStoreElimination/ifthen.ll b/test/Transforms/DeadStoreElimination/ifthen.ll index 5fb1d3e7e51..21c87f89256 100644 --- a/test/Transforms/DeadStoreElimination/ifthen.ll +++ b/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/test/Transforms/DeadStoreElimination/ifthenelse.ll b/test/Transforms/DeadStoreElimination/ifthenelse.ll index 5ebbff887f7..59ef17e37a5 100644 --- a/test/Transforms/DeadStoreElimination/ifthenelse.ll +++ b/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/test/Transforms/DeadStoreElimination/ifthenelse2.ll b/test/Transforms/DeadStoreElimination/ifthenelse2.ll index 7c95cfd089b..7aab0300477 100644 --- a/test/Transforms/DeadStoreElimination/ifthenelse2.ll +++ b/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/test/Transforms/DeadStoreElimination/loop.ll b/test/Transforms/DeadStoreElimination/loop.ll index 80bd8529ad4..941e6fafaf3 100644 --- a/test/Transforms/DeadStoreElimination/loop.ll +++ b/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