From: Rafael Espindola Date: Fri, 28 Oct 2011 20:52:18 +0000 (+0000) Subject: Fix this on the bots and make the test more complete by enabling optimizations. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcb54520eb9aaf2c25660380f7301ff3f4d284d5;p=clang Fix this on the bots and make the test more complete by enabling optimizations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143223 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/pr9614.c b/test/CodeGen/pr9614.c index e761bec3f9..8c76776683 100644 --- a/test/CodeGen/pr9614.c +++ b/test/CodeGen/pr9614.c @@ -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 @@ void f(void) { } // 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