diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-13 06:02:28 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-13 06:02:28 +0000 |
commit | 44eac33ae12df384f3f002102f919f603bee330f (patch) | |
tree | a0cbeccc9bfc23ab61327e2596d63b025a3f0844 /test/CodeGen/inline2.c | |
parent | 769640e30d1e8ec2a6667daff1c2d0a28811138b (diff) |
Reinstate the optimization suppressing available_externally functions
at -O0. The only change from the previous patch is that we don't try
to generate virtual method thunks for an available_externally
function.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/inline2.c')
-rw-r--r-- | test/CodeGen/inline2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/inline2.c b/test/CodeGen/inline2.c index 737b58fa44..fca4fff7ca 100644 --- a/test/CodeGen/inline2.c +++ b/test/CodeGen/inline2.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s -// RUN: %clang_cc1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s +// RUN: %clang_cc1 -O1 -std=gnu89 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix GNU89 %s +// RUN: %clang_cc1 -O1 -std=c99 -triple i386-apple-darwin9 -emit-llvm %s -o - | FileCheck -check-prefix C99 %s // CHECK-GNU89: define i32 @f0() // CHECK-C99: define i32 @f0() |