[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 ba7e98f17b8508501c4c3130a0fc200a2bc98ead..e6996ab97a8caad415372986e5c52606e477ac42 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 5fb1d3e7e51e1813da48b47790330540c68c8cfa..21c87f8925680b61db23ad91cf4afa6c36f89053 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 5ebbff887f7e77c65d006cbeca4802b72b7d9eb4..59ef17e37a5bbd237e04a221436a087021755898 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 7c95cfd089b4271fb922425eb4f3b2a14d313b66..7aab03004777c4cafc9d41c104755810cb28d11b 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 80bd8529ad476b99e05c1cc2e6962dd82c60a9be..941e6fafaf3705da37c493fb9059810a37effdc1 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