[cfe-commits] r97035 - /cfe/trunk/test/CodeGen/functions.c

John McCall rjmccall at apple.com
Wed Feb 24 00:14:27 PST 2010


Author: rjmccall
Date: Wed Feb 24 02:14:27 2010
New Revision: 97035

URL: http://llvm.org/viewvc/llvm-project?rev=97035&view=rev
Log:
Make this test portable to ABIs that use sret.


Modified:
    cfe/trunk/test/CodeGen/functions.c

Modified: cfe/trunk/test/CodeGen/functions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/functions.c?rev=97035&r1=97034&r2=97035&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/functions.c (original)
+++ cfe/trunk/test/CodeGen/functions.c Wed Feb 24 02:14:27 2010
@@ -30,7 +30,7 @@
 // CHECK: define void @f1()
 void f1() {}
 
-// CHECK: define {{.*}} @f3()
+// CHECK: define {{.*}} @f3{{\(\)|\(.*sret.*\)}}
 struct foo { int X, Y, Z; } f3() {
   while (1) {}
 }





More information about the cfe-commits mailing list