diff options
author | Hal Finkel <hfinkel@anl.gov> | 2016-07-16 07:22:09 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2016-07-16 07:22:09 +0000 |
commit | 81cdef31e6a9fcfecae3d1b7c6a467dee18b56e2 (patch) | |
tree | 8367de66c21bedaada78d9b3888a42c85ed110da | |
parent | 660096b26045e2be00d5a7eb8df15ae3d45cc5c5 (diff) | |
download | bcm5719-llvm-81cdef31e6a9fcfecae3d1b7c6a467dee18b56e2.tar.gz bcm5719-llvm-81cdef31e6a9fcfecae3d1b7c6a467dee18b56e2.zip |
Revert "Revert r275029 - Update Clang tests after adding inference for the returned argument attribute"
This reverts commit r275043 after reapplying the underlying LLVM commit.
llvm-svn: 275679
-rw-r--r-- | clang/test/CodeGen/ppc64-struct-onevect.c | 2 | ||||
-rw-r--r-- | clang/test/CodeGenCXX/wasm-args-returns.cpp | 4 | ||||
-rw-r--r-- | clang/test/CodeGenOpenCL/as_type.cl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/ppc64-struct-onevect.c b/clang/test/CodeGen/ppc64-struct-onevect.c index 34f4cc0753a..8cd4126912a 100644 --- a/clang/test/CodeGen/ppc64-struct-onevect.c +++ b/clang/test/CodeGen/ppc64-struct-onevect.c @@ -9,5 +9,5 @@ v4sf foo (struct s a) { return a.v; } -// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg %a.coerce) +// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg returned %a.coerce) // CHECK: ret <4 x float> %a.coerce diff --git a/clang/test/CodeGenCXX/wasm-args-returns.cpp b/clang/test/CodeGenCXX/wasm-args-returns.cpp index 2b80430014d..24adc8e0876 100644 --- a/clang/test/CodeGenCXX/wasm-args-returns.cpp +++ b/clang/test/CodeGenCXX/wasm-args-returns.cpp @@ -14,7 +14,7 @@ struct one_field { double d; }; test(one_field); -// CHECK: define double @_Z7forward9one_field(double %{{.*}}) +// CHECK: define double @_Z7forward9one_field(double returned %{{.*}}) // // CHECK: define void @_Z14test_one_fieldv() // CHECK: %[[call:.*]] = tail call double @_Z13def_one_fieldv() @@ -89,7 +89,7 @@ struct one_bitfield { int d:3; }; test(one_bitfield); -// CHECK: define i32 @_Z7forward12one_bitfield(i32 %{{.*}}) +// CHECK: define i32 @_Z7forward12one_bitfield(i32 returned %{{.*}}) // // CHECK: define void @_Z17test_one_bitfieldv() // CHECK: %[[call:.*]] = tail call i32 @_Z16def_one_bitfieldv() diff --git a/clang/test/CodeGenOpenCL/as_type.cl b/clang/test/CodeGenOpenCL/as_type.cl index 7fc3b02bdc7..4f0041a7fe6 100644 --- a/clang/test/CodeGenOpenCL/as_type.cl +++ b/clang/test/CodeGenOpenCL/as_type.cl @@ -51,7 +51,7 @@ int f6(char4 x) { return __builtin_astype(x, int); } -//CHECK: define spir_func <3 x i8> @f7(<3 x i8> %[[x:.*]]) +//CHECK: define spir_func <3 x i8> @f7(<3 x i8> returned %[[x:.*]]) //CHECK-NOT: bitcast //CHECK-NOT: shufflevector //CHECK: ret <3 x i8> %[[x]] |