]> granicus.if.org Git - clang/commitdiff
Fix test case committed in r147986.
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 12 Jan 2012 01:27:24 +0000 (01:27 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 12 Jan 2012 01:27:24 +0000 (01:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147993 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/mips64-padding-arg.c

index faafd5e63cbe244e46bda19bc8e1ef2274dce5d6..6504a7eb9e11c5b252329608ce43409ea2197b4c 100644 (file)
@@ -31,13 +31,13 @@ void foo3(int a0, long double a1) {
 
 // Insert padding after hidden argument.
 //
-// CHECK: define void @foo5(%struct.S0* noalias nocapture sret %agg.result, i64, fp128 %a0)
-// CHECK: call void @foo6(%struct.S0* sret %tmp, i32 1, i32 2, i64 undef, fp128 %a0)
+// CHECK: define void @foo5(%struct.S0* noalias sret %agg.result, i64, fp128 %a0)
+// CHECK: call void @foo6(%struct.S0* sret %agg.result, i32 1, i32 2, i64 undef, fp128 %a0)
 // CHECK: declare void @foo6(%struct.S0* sret, i32, i32, i64, fp128)
 
 extern S0 foo6(int, int, long double);
 
 S0 foo5(long double a0) {
-  foo6(1, 2, a0);
+  return foo6(1, 2, a0);
 }