]> granicus.if.org Git - clang/commitdiff
Revert r275029 - Update Clang tests after adding inference for the returned argument...
authorHal Finkel <hfinkel@anl.gov>
Mon, 11 Jul 2016 04:52:07 +0000 (04:52 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 11 Jul 2016 04:52:07 +0000 (04:52 +0000)
The associated backend change is causing miscompiles from the AArch64 backend.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275043 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ppc64-struct-onevect.c
test/CodeGenCXX/wasm-args-returns.cpp
test/CodeGenOpenCL/as_type.cl

index 8cd4126912a5dd512e6af478c11478f5909a2bea..34f4cc0753ac254f0f20fe3f37255b7bc20b06f6 100644 (file)
@@ -9,5 +9,5 @@ v4sf foo (struct s a) {
   return a.v;
 }
 
-// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg returned %a.coerce)
+// CHECK-LABEL: define <4 x float> @foo(<4 x float> inreg %a.coerce)
 // CHECK: ret <4 x float> %a.coerce
index 24adc8e08761de71feb26d974ba5b7b07d769329..2b80430014d09708ffcb9acfc93b9588d4110820 100644 (file)
@@ -14,7 +14,7 @@
 
 struct one_field { double d; };
 test(one_field);
-// CHECK: define double @_Z7forward9one_field(double returned %{{.*}})
+// CHECK: define double @_Z7forward9one_field(double %{{.*}})
 //
 // 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 returned %{{.*}})
+// CHECK: define i32 @_Z7forward12one_bitfield(i32 %{{.*}})
 //
 // CHECK: define void @_Z17test_one_bitfieldv()
 // CHECK: %[[call:.*]] = tail call i32 @_Z16def_one_bitfieldv()
index 4f0041a7fe6c5ed91e6f6484527f44a11dc20ec0..7fc3b02bdc757653abea0862f6f2a9edd59a243c 100644 (file)
@@ -51,7 +51,7 @@ int f6(char4 x) {
   return __builtin_astype(x, int);
 }
 
-//CHECK: define spir_func <3 x i8> @f7(<3 x i8> returned %[[x:.*]])
+//CHECK: define spir_func <3 x i8> @f7(<3 x i8> %[[x:.*]])
 //CHECK-NOT: bitcast
 //CHECK-NOT: shufflevector
 //CHECK: ret <3 x i8> %[[x]]