[cfe-commits] r143223 - /cfe/trunk/test/CodeGen/pr9614.c

Rafael Espindola rafael.espindola at gmail.com
Fri Oct 28 13:52:18 PDT 2011


Author: rafael
Date: Fri Oct 28 15:52:18 2011
New Revision: 143223

URL: http://llvm.org/viewvc/llvm-project?rev=143223&view=rev
Log:
Fix this on the bots and make the test more complete by enabling optimizations.

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

Modified: cfe/trunk/test/CodeGen/pr9614.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/pr9614.c?rev=143223&r1=143222&r2=143223&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/pr9614.c (original)
+++ cfe/trunk/test/CodeGen/pr9614.c Fri Oct 28 15:52:18 2011
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -O1 -o - | FileCheck %s
 
 extern void foo_alias (void) __asm ("foo");
 inline void foo (void) {
@@ -14,8 +14,7 @@
 }
 
 // CHECK: define void @f()
-// CHECK-NEXT: entry:
-// CHECK-NEXT: call void @foo()
+// CHECK: call void @foo()
 // CHECK-NEXT: call void @bar()
 // CHECK-NEXT: ret void
 





More information about the cfe-commits mailing list