llvm.org GIT mirror llvm / 7d33195
[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 Chad Rosier 3 years ago
5 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
4242 STATISTIC(NumFastOther , "Number of other instrs removed");
4343 STATISTIC(NumNonLocalStores, "Number of non-local stores deleted");
4444
45 static cl::opt EnableNonLocalDSE("enable-nonlocal-dse", cl::init(true));
45 static cl::opt EnableNonLocalDSE("enable-nonlocal-dse", cl::init(false));
4646
4747 /// MaxNonLocalAttempts is an arbitrary threshold that provides
4848 /// an early opportunitiy for bail out to control compile time.
None ; RUN: opt < %s -basicaa -dse -S | FileCheck %s
0 ; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s
11
22 ; The store and add in if.then block should be removed by non-local DSE.
33 ; CHECK-NOT: %stval = add
None ; RUN: opt < %s -basicaa -dse -S | FileCheck %s
0 ; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s
11
22 ; The add and store in entry block should be removed by non-local DSE.
33 ; CHECK-NOT: %stval = add
None ; RUN: opt < %s -basicaa -dse -S | FileCheck %s
0 ; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s
11
22 ; The add and store in entry block should be removed by non-local DSE.
33 ; CHECK-NOT: %stval = add
None ; RUN: opt < %s -basicaa -dse -S | FileCheck %s
0 ; RUN: opt < %s -basicaa -dse -enable-nonlocal-dse -S | FileCheck %s
11
22 ; The store in for.body block should be removed by non-local DSE.
33 ; CHECK-NOT: store i32 0, i32* %arrayidx