Skip to content

Commit 0f51cf9

Browse files
committed
remove not needed test functions
1 parent 18f19f6 commit 0f51cf9

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

llvm/test/Transforms/Inline/inline-recursive-fn.ll

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ if.end: ; preds = %entry
4343
br label %common.ret18
4444
}
4545

46-
define float @test_inline_rec_true_successor(float %x, float %scale) {
47-
entry:
48-
%res = tail call float @inline_rec_true_successor(float %x, float %scale)
49-
ret float %res
50-
}
51-
5246
; Same as previous test except that the recursive callsite is in the false successor
5347
define float @inline_rec_false_successor(float %x, float %scale) {
5448
; CHECK-LABEL: define float @inline_rec_false_successor(
@@ -92,12 +86,6 @@ if.end: ; preds = %entry
9286
br label %common.ret18
9387
}
9488

95-
define float @test_inline_rec_false_successor(float %x, float %scale) {
96-
entry:
97-
%res = tail call float @inline_rec_false_successor(float %x, float %scale)
98-
ret float %res
99-
}
100-
10189
; Test when the BR has Value not cmp instruction
10290
define float @inline_rec_no_cmp(i1 %flag, float %scale) {
10391
; CHECK-LABEL: define float @inline_rec_no_cmp(
@@ -129,12 +117,6 @@ common.ret:
129117
ret float %common.ret.res
130118
}
131119

132-
define float @test_inline_rec_no_cmp(i1 %flag, float %scale) {
133-
entry:
134-
%res = tail call float @inline_rec_no_cmp(i1 %flag, float %scale)
135-
ret float %res
136-
}
137-
138120
define float @no_inline_rec(float %x, float %scale) {
139121
; CHECK-LABEL: define float @no_inline_rec(
140122
; CHECK-SAME: float [[Z:%.*]], float [[SCALE:%.*]]) {
@@ -171,9 +153,3 @@ if.end: ; preds = %entry
171153
%mul = fmul float %x, %scale
172154
br label %common.ret18
173155
}
174-
175-
define float @test_no_inline(float %x, float %scale) {
176-
entry:
177-
%res = tail call float @no_inline_rec(float %x, float %scale)
178-
ret float %res
179-
}

0 commit comments

Comments
 (0)