]> granicus.if.org Git - clang/commitdiff
use -emit-llvm-bc
authorChris Lattner <sabre@nondot.org>
Thu, 27 Dec 2007 20:35:58 +0000 (20:35 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Dec 2007 20:35:58 +0000 (20:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45372 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/enum.c
test/CodeGen/switch.c

index f671dfca0c9aa1653c05f21b2da47189a890513a..c8641926ee27fb231ad93f57ebbdda128e85d003 100644 (file)
@@ -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;
 
index 3697ce7c02889d97b89c468990983412d2456cfa..a21505ef89cf8f5f088a4d09c7ecf60bea6fbcc2 100644 (file)
@@ -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;