aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-27 20:35:58 +0000
committerChris Lattner <sabre@nondot.org>2007-12-27 20:35:58 +0000
commitcda459ec79fb32e55f55e13a02001202b13406bd (patch)
tree3f3dba7e80abe84734d728cebc32e6d5a79b6cc4
parent6d0747d6be9e563abf8e4e4461e8a6fc13f2cd2d (diff)
use -emit-llvm-bc
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45372 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/enum.c2
-rw-r--r--test/CodeGen/switch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/enum.c b/test/CodeGen/enum.c
index f671dfca0c..c8641926ee 100644
--- a/test/CodeGen/enum.c
+++ b/test/CodeGen/enum.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm | llvm-as | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
+// RUN: clang %s -emit-llvm-bc -o - | opt -std-compile-opts | llvm-dis | grep 'ret i32 6'
static enum { foo, bar = 1U } z;
diff --git a/test/CodeGen/switch.c b/test/CodeGen/switch.c
index 3697ce7c02..a21505ef89 100644
--- a/test/CodeGen/switch.c
+++ b/test/CodeGen/switch.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm | llvm-as | opt -std-compile-opts -disable-output
+// RUN: clang %s -emit-llvm-bc -o - | opt -std-compile-opts -disable-output
int foo(int i) {
int j = 0;