Skip to content

Commit 77a4538

Browse files
committed
Fix this on the bots and make the test more complete by enabling optimizations.
llvm-svn: 143223
1 parent fffc1ce commit 77a4538

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/test/CodeGen/pr9614.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm %s -O1 -o - | FileCheck %s
22

33
extern void foo_alias (void) __asm ("foo");
44
inline void foo (void) {
@@ -14,8 +14,7 @@ void f(void) {
1414
}
1515

1616
// CHECK: define void @f()
17-
// CHECK-NEXT: entry:
18-
// CHECK-NEXT: call void @foo()
17+
// CHECK: call void @foo()
1918
// CHECK-NEXT: call void @bar()
2019
// CHECK-NEXT: ret void
2120

0 commit comments

Comments
 (0)