Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

Commit b09c538

Browse files
author
Hal Finkel
committed
Update Clang tests after adding inference for the returned argument attribute
Adjusting tests after r275027. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275029 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent fee693a commit b09c538

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/CodeGen/ppc64-struct-onevect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ v4sf foo (struct s a) {
99
return a.v;
1010
}
1111

12-
// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg %a.coerce)
12+
// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg returned %a.coerce)
1313
// CHECK: ret <4 x float> %a.coerce

test/CodeGenCXX/wasm-args-returns.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
struct one_field { double d; };
1616
test(one_field);
17-
// CHECK: define double @_Z7forward9one_field(double %{{.*}})
17+
// CHECK: define double @_Z7forward9one_field(double returned %{{.*}})
1818
//
1919
// CHECK: define void @_Z14test_one_fieldv()
2020
// CHECK: %[[call:.*]] = tail call double @_Z13def_one_fieldv()
@@ -89,7 +89,7 @@ struct one_bitfield {
8989
int d:3;
9090
};
9191
test(one_bitfield);
92-
// CHECK: define i32 @_Z7forward12one_bitfield(i32 %{{.*}})
92+
// CHECK: define i32 @_Z7forward12one_bitfield(i32 returned %{{.*}})
9393
//
9494
// CHECK: define void @_Z17test_one_bitfieldv()
9595
// CHECK: %[[call:.*]] = tail call i32 @_Z16def_one_bitfieldv()

test/CodeGenOpenCL/as_type.cl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int f6(char4 x) {
5151
return __builtin_astype(x, int);
5252
}
5353

54-
//CHECK: define spir_func <3 x i8> @f7(<3 x i8> %[[x:.*]])
54+
//CHECK: define spir_func <3 x i8> @f7(<3 x i8> returned %[[x:.*]])
5555
//CHECK-NOT: bitcast
5656
//CHECK-NOT: shufflevector
5757
//CHECK: ret <3 x i8> %[[x]]

0 commit comments

Comments
 (0)