[DSE] Disable non-local DSE to see if the bots go green.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 10 Dec 2015 19:23:02 +0000 (19:23 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 10 Dec 2015 19:23:02 +0000 (19:23 +0000)
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

lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/DeadStoreElimination/ifthen.ll
test/Transforms/DeadStoreElimination/ifthenelse.ll
test/Transforms/DeadStoreElimination/ifthenelse2.ll
test/Transforms/DeadStoreElimination/loop.ll

index ba7e98f..e6996ab 100644 (file)
@@ -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.
index 5fb1d3e..21c87f8 100644 (file)
@@ -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
index 5ebbff8..59ef17e 100644 (file)
@@ -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
index 7c95cfd..7aab030 100644 (file)
@@ -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
index 80bd852..941e6fa 100644 (file)
@@ -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