Skip to content

Commit fff79ff

Browse files
committed
Remove unused arguments
1 parent 71ffa90 commit fff79ff

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

llvm/test/Transforms/SCCP/switch-constantfold-crash.ll

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
; RUN: opt -passes=ipsccp < %s -S | FileCheck %s
33
; RUN: opt -passes='ipsccp,ipsccp' < %s -S | FileCheck %s
44

5-
define void @barney(i1 %arg) {
6-
; CHECK-LABEL: define {{[^@]+}}@barney
7-
; CHECK-SAME: (i1 [[ARG:%.*]]) {
5+
define void @barney() {
6+
; CHECK-LABEL: define {{[^@]+}}@barney() {
87
; CHECK-NEXT: bb:
98
; CHECK-NEXT: br label [[BB9:%.*]]
109
; CHECK: bb6:
@@ -27,9 +26,8 @@ bb9: ; preds = %bb
2726
]
2827
}
2928

30-
define void @blam(i1 %arg) {
31-
; CHECK-LABEL: define {{[^@]+}}@blam
32-
; CHECK-SAME: (i1 [[ARG:%.*]]) {
29+
define void @blam() {
30+
; CHECK-LABEL: define {{[^@]+}}@blam() {
3331
; CHECK-NEXT: bb:
3432
; CHECK-NEXT: br label [[BB16:%.*]]
3533
; CHECK: bb16:

llvm/test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
declare void @foo()
77

88
; CHECK-LABEL: @Test
9-
define void @Test(i32, i1 %arg) {
9+
define void @Test(i32) {
1010
entry:
1111
br label %outer
1212
outer:

llvm/test/Transforms/Sink/dead-user.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: -p --version 3
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 3
22
; Compiler should not be broken with a dead user.
33
; RUN: opt -passes=sink -S < %s | FileCheck %s
44

llvm/test/Transforms/StructurizeCFG/loop-continue-phi.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: -p
1+
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
22
; RUN: opt -S -o - -structurizecfg < %s | FileCheck %s
33

44
define void @test1(i1 %arg) {

0 commit comments

Comments
 (0)