Skip to content

Commit d53a4e7

Browse files
committed
[test] Remove legacy PM tests in llvm/test/Other
Differential Revision: https://reviews.llvm.org/D109180
1 parent 4664590 commit d53a4e7

33 files changed

+84
-2613
lines changed

llvm/test/Other/2002-01-31-CallGraph.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
; Call graph construction crash: Not handling indirect calls right
22
;
3-
; RUN: opt < %s -analyze -print-callgraph -enable-new-pm=0 > /dev/null 2>&1
43
; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1
54
;
65

llvm/test/Other/2007-06-05-PassID.ll

Lines changed: 0 additions & 20 deletions
This file was deleted.

llvm/test/Other/2007-06-28-PassManager.ll

Lines changed: 0 additions & 7 deletions
This file was deleted.

llvm/test/Other/2009-03-31-CallGraph.ll

Lines changed: 0 additions & 36 deletions
This file was deleted.

llvm/test/Other/constant-fold-gep.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
; RUN: opt -S -o - -instcombine -globalopt -data-layout="e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" < %s | FileCheck --check-prefix=TO %s
1212

1313
; "SCEV" - ScalarEvolution with default target layout
14-
; RUN: opt -analyze -scalar-evolution < %s -enable-new-pm=0 | FileCheck --check-prefix=SCEV %s
1514
; RUN: opt -passes='print<scalar-evolution>' < %s -disable-output 2>&1 | FileCheck --check-prefix=SCEV %s
1615

1716

llvm/test/Other/cspgo-O2-pipeline.ll

Lines changed: 0 additions & 13 deletions
This file was deleted.

llvm/test/Other/debug-pass-npm.ll

Lines changed: 0 additions & 4 deletions
This file was deleted.

llvm/test/Other/heat-colors-graphs.ll

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
; RUN: opt %s -dot-cfg -cfg-heat-colors -cfg-dot-filename-prefix=%t -disable-output
2-
; RUN: FileCheck %s -input-file=%t.f.dot --check-prefixes=CHECK-CFG,CHECK-BOTH
3-
; RUN: opt -enable-new-pm=0 %s -dot-callgraph -callgraph-heat-colors -callgraph-dot-filename-prefix=%t -disable-output
4-
; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK-BOTH
2+
; RUN: FileCheck %s -input-file=%t.f.dot
53

6-
; CHECK-BOTH: color="#{{[(a-z)(0-9)]+}}", style={{[a-z]+}}, fillcolor="#{{[(a-z)(0-9)]+}}"
7-
; CHECK-CFG: color="#{{[(a-z)(0-9)]+}}", style={{[a-z]+}}, fillcolor="#{{[(a-z)(0-9)]+}}"
8-
; CHECK-CFG: color="#{{[(a-z)(0-9)]+}}", style={{[a-z]+}}, fillcolor="#{{[(a-z)(0-9)]+}}"
4+
; CHECK: color="#[[#%x,]]", style={{[a-z]+}}, fillcolor="#[[#%x,]]"
5+
; CHECK: color="#[[#%x,]]", style={{[a-z]+}}, fillcolor="#[[#%x,]]"
6+
; CHECK: color="#[[#%x,]]", style={{[a-z]+}}, fillcolor="#[[#%x,]]"
97

108
define void @f(i32) {
119
entry:

llvm/test/Other/heat-colors-multigraph.ll

Lines changed: 0 additions & 16 deletions
This file was deleted.

llvm/test/Other/loop-pass-printer.ll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@
22
; Besides of the loop itself it should be dumping loop pre-header and exits.
33
;
44
; RUN: opt < %s 2>&1 -disable-output \
5-
; RUN: -loop-deletion -print-before=loop-deletion \
6-
; RUN: | FileCheck %s -check-prefix=DEL
7-
; RUN: opt < %s 2>&1 -disable-output \
85
; RUN: -passes='loop(loop-deletion)' -print-before=loop-deletion \
96
; RUN: | FileCheck %s -check-prefix=DEL
10-
; RUN: opt -enable-new-pm=0 < %s 2>&1 -disable-output \
11-
; RUN: -loop-unroll -print-after=loop-unroll -filter-print-funcs=bar \
12-
; RUN: | FileCheck %s -check-prefix=BAR -check-prefix=BAR-OLD
137
; RUN: opt < %s 2>&1 -disable-output \
148
; RUN: -passes='require<opt-remark-emit>,loop(loop-unroll-full)' -print-after=loop-unroll-full -filter-print-funcs=bar \
159
; RUN: | FileCheck %s -check-prefix=BAR
16-
; RUN: opt -enable-new-pm=0 < %s 2>&1 -disable-output \
17-
; RUN: -loop-unroll -print-after=loop-unroll -filter-print-funcs=foo -print-module-scope \
18-
; RUN: | FileCheck %s -check-prefix=FOO-MODULE -check-prefix=FOO-MODULE-OLD
1910
; RUN: opt < %s 2>&1 -disable-output \
2011
; RUN: -passes='require<opt-remark-emit>,loop(loop-unroll-full)' -print-after=loop-unroll-full -filter-print-funcs=foo -print-module-scope \
2112
; RUN: | FileCheck %s -check-prefix=FOO-MODULE
@@ -43,14 +34,11 @@
4334
; BAR-NEXT: loop:
4435
; BAR: ; Exit blocks
4536
; BAR: end:
46-
; BAR-OLD-NOT: IR Dump
47-
; BAR-OLD-NOT: ; Loop
4837

4938
; FOO-MODULE: IR Dump After {{Unroll|LoopFullUnrollPass}} {{.*}}%loop
5039
; FOO-MODULE-NEXT: ModuleID =
5140
; FOO-MODULE: define void @foo
5241
; FOO-MODULE: define void @bar
53-
; FOO-MODULE-OLD-NOT: IR Dump
5442

5543
define void @foo(){
5644
%idx = alloca i32, align 4

llvm/test/Other/opt-LTO-pipeline.ll

Lines changed: 0 additions & 215 deletions
This file was deleted.

llvm/test/Other/opt-O0-pipeline-enable-matrix.ll

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)