Skip to content

Commit 154a7cb

Browse files
committed
change tail call to call in test case
1 parent 86ff8bf commit 154a7cb

17 files changed

+325
-325
lines changed

llvm/test/CodeGen/PowerPC/aix-vector-byval.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ define i32 @caller() {
4242
; 64BIT-NEXT: BLR8 implicit $lr8, implicit $rm, implicit $x3
4343
entry:
4444
%vs = alloca %struct.B, align 16
45-
%call = tail call i32 @vec_struct_test(i32 0, ptr nonnull byval(%struct.B) align 16 %vs)
45+
%call = call i32 @vec_struct_test(i32 0, ptr nonnull byval(%struct.B) align 16 %vs)
4646
ret i32 %call
4747
}
4848

llvm/test/CodeGen/PowerPC/byval-lhs.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ define void @bar1(i64 %a) nounwind {
3838
; AIX-NEXT: blr
3939
%s = alloca %struct.type8, align 8
4040
store i64 %a, ptr %s, align 8
41-
%call = tail call ptr @f0(ptr noundef nonnull byval(%struct.type8) align 8 %s)
41+
%call = call ptr @f0(ptr noundef nonnull byval(%struct.type8) align 8 %s)
4242
ret void
4343
}
4444

@@ -77,7 +77,7 @@ define void @bar2(i64 %a) nounwind {
7777
store i64 %a, ptr %index1, align 8
7878
%index2 = getelementptr inbounds i64, ptr %s, i32 1
7979
store i64 %a, ptr %index2, align 8
80-
%call = tail call ptr @f1(ptr noundef nonnull byval(%struct.type16) align 8 %s)
80+
%call = call ptr @f1(ptr noundef nonnull byval(%struct.type16) align 8 %s)
8181
ret void
8282
}
8383

llvm/test/CodeGen/PowerPC/global-merge-aix-sections.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
; Function Attrs: nounwind
1818
define void @g() {
1919
entry:
20-
tail call void @f(ptr noundef nonnull @y, ptr noundef nonnull @z)
21-
tail call void @f(ptr noundef nonnull @l, ptr noundef nonnull @z)
22-
tail call void @h(ptr noundef nonnull @u)
23-
tail call void @s(ptr noundef nonnull @myStruct1)
20+
call void @f(ptr noundef nonnull @y, ptr noundef nonnull @z)
21+
call void @f(ptr noundef nonnull @l, ptr noundef nonnull @z)
22+
call void @h(ptr noundef nonnull @u)
23+
call void @s(ptr noundef nonnull @myStruct1)
2424
ret void
2525
}
2626

0 commit comments

Comments
 (0)