From bcb54520eb9aaf2c25660380f7301ff3f4d284d5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 28 Oct 2011 20:52:18 +0000 Subject: [PATCH] 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 --- test/CodeGen/pr9614.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.50.1