aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-10-28 20:52:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-10-28 20:52:18 +0000
commitbcb54520eb9aaf2c25660380f7301ff3f4d284d5 (patch)
tree1fa313ad260de2277fa2518a7fc4915d074def71
parentcc4889f72ec68319969ba51e214d9940eb9327e5 (diff)
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
-rw-r--r--test/CodeGen/pr9614.c5
1 files 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