[cfe-commits] r45372 - in /cfe/trunk/test/CodeGen: enum.c switch.c
Chris Lattner
sabre at nondot.org
Thu Dec 27 12:35:58 PST 2007
Author: lattner
Date: Thu Dec 27 14:35:58 2007
New Revision: 45372
URL: http://llvm.org/viewvc/llvm-project?rev=45372&view=rev
Log:
use -emit-llvm-bc
Modified:
cfe/trunk/test/CodeGen/enum.c
cfe/trunk/test/CodeGen/switch.c
Modified: cfe/trunk/test/CodeGen/enum.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/enum.c?rev=45372&r1=45371&r2=45372&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/enum.c (original)
+++ cfe/trunk/test/CodeGen/enum.c Thu Dec 27 14:35:58 2007
@@ -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;
Modified: cfe/trunk/test/CodeGen/switch.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/switch.c?rev=45372&r1=45371&r2=45372&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/switch.c (original)
+++ cfe/trunk/test/CodeGen/switch.c Thu Dec 27 14:35:58 2007
@@ -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;
More information about the cfe-commits
mailing list