diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-04-02 22:29:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-02 22:29:38 +0000 |
commit | c7cbed069e2206198a3b10d3b79a2dbec907259f (patch) | |
tree | 113ed212d7fe6b72f48e7eeee3ae221c83fa9fd7 /test/CodeGen/enum.c | |
parent | fae7bf269034202adf43840379340a60a9992292 (diff) |
Avoid unneeded calls to opt/llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/enum.c')
-rw-r--r-- | test/CodeGen/enum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/enum.c b/test/CodeGen/enum.c index eab32c1025..87b0e1e671 100644 --- a/test/CodeGen/enum.c +++ b/test/CodeGen/enum.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6' -// RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 7' +// RUN: %clang_cc1 -triple i386-unknown-unknown %s -O3 -emit-llvm -o - | grep 'ret i32 6' +// RUN: %clang_cc1 -triple i386-unknown-unknown -x c++ %s -O3 -emit-llvm -o - | grep 'ret i32 7' static enum { foo, bar = 1U } z; |