Remove explicit uses of -emit-llvm, the test infrastructure adds it
authorDuncan Sands <baldrick@free.fr>
Thu, 25 Nov 2010 21:39:17 +0000 (21:39 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 25 Nov 2010 21:39:17 +0000 (21:39 +0000)
automatically.  Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120160 91177308-0d34-0410-b5e6-96231b3b80d8

47 files changed:
test/FrontendC++/2003-08-24-Cleanup.cpp
test/FrontendC++/2003-08-29-ArgPassingBug.cpp
test/FrontendC++/2003-11-08-ArrayAddress.cpp
test/FrontendC++/2004-03-09-UnmangledBuiltinMethods.cpp
test/FrontendC++/2004-09-27-DidntEmitTemplate.cpp
test/FrontendC++/2005-07-21-VirtualBaseAccess.cpp
test/FrontendC++/2006-09-27-Debug-Protection.cpp
test/FrontendC++/2006-10-30-ClassBitfield.cpp
test/FrontendC++/2006-11-30-ConstantExprCrash.cpp
test/FrontendC++/2007-01-02-UnboundedArray.cpp
test/FrontendC++/2007-01-06-ELF-Thunk-Sections.cpp
test/FrontendC++/2007-01-06-PtrMethodInit.cpp
test/FrontendC++/2007-03-27-FunctionVarRename.cpp
test/FrontendC++/2007-04-11-InlineStorageClassC++.cpp
test/FrontendC++/2007-05-03-VectorInit.cpp
test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp
test/FrontendC++/2007-05-23-TryFinally.cpp
test/FrontendC++/2007-07-29-RestrictPtrArg.cpp
test/FrontendC++/2007-07-29-RestrictRefArg.cpp
test/FrontendC++/2007-08-01-RestrictMethod.cpp
test/FrontendC++/2007-09-10-RecursiveTypeResolution.cpp
test/FrontendC++/2007-10-01-StructResize.cpp
test/FrontendC++/2008-10-29-WrongOffset.cpp
test/FrontendC++/2009-02-16-CtorNames-dbg.cpp
test/FrontendC++/2009-03-17-dbg.cpp
test/FrontendC++/2009-04-21-DtorNames-dbg.cpp
test/FrontendC++/2009-04-23-bool2.cpp
test/FrontendC++/2009-05-04-PureConstNounwind.cpp
test/FrontendC++/2009-06-16-DebugInfoCrash.cpp
test/FrontendC++/2009-06-20-DarwinPPCLayout.cpp
test/FrontendC++/2009-08-05-ZeroInitWidth.cpp
test/FrontendC++/2009-08-11-VectorRetTy.cpp
test/FrontendC++/2009-09-04-modify-crash.cpp
test/FrontendC++/2009-09-09-packed-layout.cpp
test/FrontendC++/2009-10-27-crash.cpp
test/FrontendC++/2010-03-22-empty-baseclass.cpp
test/FrontendC++/2010-05-11-alwaysinlineinstantiation.cpp
test/FrontendC++/2010-05-12-PtrToMember-Dbg.cpp
test/FrontendC++/2010-06-22-BitfieldInit.cpp
test/FrontendC++/2010-06-22-ZeroBitfield.cpp
test/FrontendC++/2010-07-19-nowarn.cpp
test/FrontendC++/2010-07-23-DeclLoc.cpp
test/FrontendC++/member-alignment.cpp
test/FrontendC++/ptr-to-method-devirt.cpp
test/FrontendC++/varargs.cpp
test/FrontendC++/weak-external.cpp
test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp

index ab0d1a0d11cd79c893ff8deba4089a84e50293df..9f20ad6b714ac1dfbcf1dd06b3a55508e84cb695 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind
+// RUN: %llvmgxx -xc++ %s -S -o - | grep unwind
 
 struct S { ~S(); };
 
index d4cddff3147cc2147c19dd6d91d3db7c5950e816..fa7e7f86b21a40a7ac80045f29f6797c82e07367 100644 (file)
@@ -1,5 +1,5 @@
 
-// RUN: %llvmgcc -xc++ -c -o /dev/null %s |& not grep WARNING
+// RUN: %llvmgcc -xc++ -S -o /dev/null %s |& not grep WARNING
 
 struct iterator {
   iterator();
index 9ad1b8f82f721ab6f10bc4b142cc9284bf8e0207..ad02b4a187fb7e2d1e6f643e980eeedb76adec27 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep getelementptr
+// RUN: %llvmgxx -xc++ %s -S -o - | grep getelementptr
 
 struct foo {
   int array[100];
index b019e0c0ef3d2f2941e382f97f1f8c0cda14ecbc..a600e841e7a3dcd7f45c19a816d0c83441c8673a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -xc++ -c -o - %s | llvm-dis | grep _ZN11AccessFlags6strlenEv
+// RUN: %llvmgcc -xc++ -S -o - %s | grep _ZN11AccessFlags6strlenEv
 
 struct AccessFlags {
   void strlen();
index 706d541bee678e292bb0d7b15c06f53828e1098b..66b970cb6fd8fcc883765e21805c2aab0febb562 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep callDefaultCtor | \
+// RUN: %llvmgxx -xc++ %s -S -o - | grep callDefaultCtor | \
 // RUN:   not grep declare
 
 // This is a testcase for LLVM PR445, which was a problem where the 
index 7711cff6d36093f27426fb74251b893adca9575f..ca600d6433df01a2ebbe5a9102a42b1aaeae66c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | opt -die | llvm-dis | not grep cast
+// RUN: %llvmgxx -xc++ %s -S -o - | opt -die -S | not grep cast
 
 void foo(int*);
 
index cb09bd0a974b58c2d4aeabbc76866601d5ec2ccb..2a70a0f5b45783381a30f31dc5442cc021ddc6cd 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 1,}
-// RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep {i32 2,}
+// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 1,}
+// RUN: %llvmgxx -O0 -S -g -o - %s | grep {i32 2,}
 class A {
 public:
   int x;
index bd3b173cf8fdc98608d1dd709544cd50c47821bc..b3b43fb30ce69558f6224fab799e51dfe797384b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
 // PR954
 
 struct _Refcount_Base   {
index 365c8e80fbf5f9fe2e7ebaadb4a4530a64fa0262..d351b9413af3d52e4a09b76160295b00fa10fa09 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
 // PR1027
 
 struct sys_var {
index 648d19be62b8cb1b6777e45834a7a0325c089d9d..310308694b78b5176397e931920236f42ac55380 100644 (file)
@@ -1,6 +1,6 @@
 // Make sure unbounded arrays compile with debug information.
 // 
-// RUN: %llvmgcc -O0 -c -g %s
+// RUN: %llvmgcc -O0 -S -g %s
 
 // PR1068
 
index 654e11be1ffcc7752fe97183faa57715c5db066d..5206640be10a364a90ce455622d261f027c3d558 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep gnu.linkonce.
+// RUN: %llvmgxx %s -S -o - | not grep gnu.linkonce.
 // PR1085
 
 class 
index f87c8d888fce4648a335cca2678503ec6a62c252..beb79457b559ff2fce81172fa4b28bfc548d6fa6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
 // PR1084
 
 extern "C"
index 538d6df1813cc8352a40cb9795b31c5872686511..6ff1284ddb40f4307938d9697564040462fb5999 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o - | not grep eprintf1
-// RUN: %llvmgxx %s -emit-llvm -S -o - | grep eprintf
+// RUN: %llvmgxx %s -S -o - | not grep eprintf1
+// RUN: %llvmgxx %s -S -o - | grep eprintf
 
 // Only one eprintf should exist in the output
 
index eabcd57327084c473016d470e1be337d9f91d465..4c2aad397c89c59b35a9f74838ec717a7c3bf075 100644 (file)
@@ -1,16 +1,16 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xglobWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xextWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xWeaknoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xWeakextnoinline | grep weak | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xglobnoWeak | grep linkonce | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xstatnoWeak | grep internal | count 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: %llvmgxx %s -S -O0 -o - | grep define | \
 // RUN:   grep xextnoWeak | grep linkonce | count 1
 inline int xglobWeak(int) __attribute__((weak));
 inline int xglobWeak (int i) {
index b87f4d4665cae7bfc02ae81550925e2675892194..af56d3a08a8440105a278c23dc3d14b0a9f98b40 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - 
+// RUN: %llvmgxx %s -S -O0 -o - 
 // PR1378
 
 typedef float v4sf __attribute__((vector_size(16)));
index 8392c0b94a5289e1902599c50d4549f833251c3b..42342fc9486c1bf28951817952036d7953e33c38 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -S -o -
+// RUN: %llvmgxx %s -S -o -
 
 #pragma reverse_bitfields on
 typedef unsigned long UINT32;
index 38f0b021aba00db2359d8b9c639365468f80c368..c7971820ec750264b8d6ba06ff741455ce95977a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | ignore grep _Unwind_Resume | \
+// RUN: %llvmgxx %s -S -O2 -o - | ignore grep _Unwind_Resume | \
 // RUN:   wc -l | grep {\[23\]}
 
 struct One { };
index d54dfbe57121d3ab987824a50c44399087156dd1..2e85abdf25ea391df80f0cad86ec7b2892ae0550 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
 
 void foo(int * __restrict myptr1, int * myptr2) {
   myptr1[0] = 0;
index 0c28e4d27a2bb05037a105950339c2cd0dd20d4d..128ddb3ab59273095af56f37382806c0968be4b5 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
 
 void foo(int & __restrict myptr1, int & myptr2) {
   myptr1 = 0;
index b4922beab1b291abf694cbf9569565734661ca80..feefaa1759c5660b04818ef4c2363e141e7ff3a1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o - | llvm-dis | grep noalias
+// RUN: %llvmgxx -S %s -o - | grep noalias
 
 
 class foo {
index f81394409d4a54134ce4d4338228c20d8e3f07b1..1fcf15f0d9d8ac7265b79902fbe6befccf89fa31 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o -
+// RUN: %llvmgxx -S %s -o -
 // PR1634
 
 namespace Manta
index d37057a901a4e3f2323f0defc43cfd6c6c7ff7ab..71109eb7b6a5dd00d8c5d77536d272b871a7e5c6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
 
 #pragma pack(4)
 
index 1b3be2132b185bdcf7c5a4ae0de9381e6103bb26..c261c3123767e45517a426ad97e7571d68d6aac6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -c -o /dev/null
+// RUN: %llvmgxx %s -S -o /dev/null
 // PR2917
 
 #include <complex>
index 8f1b598aa2bf482b69c7da7dcba283d94e54afd6..eb69963e5343c5bd7882f755b5404e947f9e8bf4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S -g --emit-llvm %s -o - | grep "\~A"
+// RUN: %llvmgcc -S -g %s -o - | grep "\~A"
 class A {
   int i;
 public:
index 93da61873bfc23db1ef43dd574ec8ff43dd4df8a..6708e12f9b935b34c717cb500f66b4b8f6636947 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
+// RUN: %llvmgxx -S %s -o /dev/null -g
 // XTARGET: darwin,linux
 // XFAIL: *
 template <typename T1,typename T2>
index 997c3f703508d7c98f3a660baa0acb42d721630c..e3616da073bf7b3091f0ee646f47020180c78e04 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -c -g %s -o - | llc -O0 -o %t.s
+// RUN: %llvmgcc -S -g %s -o - | llc -O0 -o %t.s
 // RUN: %compile_c %t.s -o %t.o
 // PR4025
 
index 8614a37d36c45066bc60dc6ad9ddea444a474454..2c76d982ea6e6478fbcc6ecd01e3bdbe3b221db2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
 // g++.old-deja/g++.jason/bool2.C from gcc testsuite.
 // Crashed before 67975 went in.
 struct F {
index a4b4653e122ebfb63137a038f2e463cd057eaf03..e275c340a9504e75496340c7ac143213c95b2079 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | grep nounwind | count 4
+// RUN: %llvmgxx -S %s -o - | grep nounwind | count 4
 int c(void) __attribute__((const));
 int p(void) __attribute__((pure));
 int t(void);
index b3758d2782ca543d43b1e1277d490b1f6d403305..c2a841b1a6742a08d99b5dcffea818b833ab04c4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o /dev/null -g
+// RUN: %llvmgxx -S %s -o /dev/null -g
 // This crashes if we try to emit debug info for TEMPLATE_DECL members.
 template <class T> class K2PtrVectorBase {};
 template <class T> class K2Vector {};
index dcb2f16a5dc8fe95f2450a5c257ab7e673bcf00c..e0bc043adad906d2de62cbe81e4b0ec9e1294faa 100644 (file)
@@ -1,10 +1,10 @@
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep baz | grep global | grep {struct.bar}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep ccc | grep global | grep {struct.CC}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep quux | grep global | grep {struct.bar}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep foo | grep global | grep {struct.SRCFilter::FilterEntry}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.bar} | grep {1 x i32}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.CC} | grep {struct.payre<KBFP,float*} | grep {.base.32} | grep {1 x i32}
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o - | grep {struct.SRCFilter::FilterEntry} | not grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep baz | grep global | grep {struct.bar}
+// RUN: %llvmgxx -S -m32 %s -o - | grep ccc | grep global | grep {struct.CC}
+// RUN: %llvmgxx -S -m32 %s -o - | grep quux | grep global | grep {struct.bar}
+// RUN: %llvmgxx -S -m32 %s -o - | grep foo | grep global | grep {struct.SRCFilter::FilterEntry}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.bar} | grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.CC} | grep {struct.payre<KBFP,float*} | grep {.base.32} | grep {1 x i32}
+// RUN: %llvmgxx -S -m32 %s -o - | grep {struct.SRCFilter::FilterEntry} | not grep {1 x i32}
 // XFAIL: *
 // XTARGET: powerpc-apple-darwin
 
index bc862e70bde14c8bde6e815b8fb8c7ab95b1c27f..89a79f244639be773cea2637183a65826c1306be 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -c -emit-llvm %s -o -
+// RUN: %llvmgxx -S %s -o -
 // rdar://7114564
 struct A {
   unsigned long long : (sizeof(unsigned long long) * 8) - 16;
index b2c3ba185b5c114c87e1790e6bd2e147e91039c5..403b59d8f99ee8d6f7b16bf5b963eead6d7a724f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -c -o /dev/null
+// RUN: %llvmgxx %s -S -o /dev/null
 // <rdar://problem/7096460>
 typedef void (*Func) ();
 typedef long long m64 __attribute__((__vector_size__(8), __may_alias__));
index ac16f8c36d1865b38edf850c775943104c0ab14a..89274e09c7ed2719f8e52cde8e5c958488a5f2f7 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -emit-llvm -fapple-kext -S -o -
+// RUN: %llvmgxx %s -fapple-kext -S -o -
 // The extra check in 71555 caused this to crash on Darwin X86
 // in an assert build.
 class foo {
index a569f9f78767bf9a8534e39a777d89136ed2e984..921aad79f73c77e9dc66fc2756891d985507d0fa 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -m32 -emit-llvm %s -o /dev/null
+// RUN: %llvmgxx -S -m32 %s -o /dev/null
 class X { 
  public:
   virtual ~X();
index 21d0064c687be7165e1544c79482704e7eaef5bb..da73988b697649c77f7bc4cfe0709174ce211cf6 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -emit-llvm -S %s -o /dev/null
+// RUN: %llvmgxx -S %s -o /dev/null
 // Radar 7328944
 
 typedef struct
index b6bdea40c3f2ec3c2bb4c53f4fb7d6f8e0395c40..bb741c42c842461d0c261f283533990ca892beaf 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - -O2 | FileCheck %s
+// RUN: %llvmgxx -S %s -o - -O2 | FileCheck %s
 namespace boost {
   namespace detail {
     template <typename T> struct cv_traits_imp {};
index 203b542b784b87e3abb5bcf044b881345f5cf343..9203dbd0bd9fdda97605843a64e5a3e8f5f23beb 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | not grep ZN12basic_stringIcEC1Ev
-// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep ZN12basic_stringIcED1Ev | count 2
+// RUN: %llvmgxx -xc++ %s -S -o - | not grep ZN12basic_stringIcEC1Ev
+// RUN: %llvmgxx -xc++ %s -S -o - | grep ZN12basic_stringIcED1Ev | count 2
 
 template<class charT> 
 class basic_string
index 66acfbe4b326fc9122ddf8258810530ca13eabe3..c2d6abe97fc5345127e57555da6cb895ccc0c6a3 100644 (file)
@@ -1,4 +1,4 @@
-//RUN: %llvmgxx -O0 -emit-llvm -S -g -o - %s | grep DW_TAG_auto_variable
+//RUN: %llvmgxx -O0 -S -g -o - %s | grep DW_TAG_auto_variable
 class Foo
 {
  public:
index 1cfe1f9f6fd50fd71a3cae10976be338013cb564..8dceb78bfc67f183de44f8480646a9ab7a708de2 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -g -c %s
+// RUN: %llvmgxx -g -S %s
 struct TEST2
 {
   int subid:32;
index c979f8d9b9183e98f0a0b9cb1d811925b69e10a1..9c4f2629f7482c89363928cc384fe9a3932dae35 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -g -c %s
+// RUN: %llvmgxx -g -S %s
 struct s8_0 { unsigned : 0; };
 struct s8_1 { double x; };
 struct s8 { s8_0 a; s8_1 b; };
index 8742bf152329a6180bdbea139933c1a8b34ad5e3..a61a84ff28b0569b18a6ea87af09e34f94aa0390 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
+// RUN: %llvmgcc %s -S -m32 -fasm-blocks -o /dev/null
 // This should not warn about unreferenced label. 8195660.
 // XFAIL: *
 // XTARGET: x86,i386,i686
index c72de3b336239ed40980f5399de21a3aefc75378..9bf432beb7276609899aa679430fde3cf42ac1f3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -emit-llvm -S -g %s -o - | FileCheck %s
+// RUN: %llvmgxx -S -g %s -o - | FileCheck %s
 // Require the template function declaration refer to the correct filename.
 // First, locate the function decl in metadata, and pluck out the file handle:
 // CHECK: {{extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*extract_dwarf_data_from_header.*[^ ]+", metadata !}}[[filehandle:[0-9]+]],
index 6afc0aaede1ced295591eef95428c6cdb51a4a4c..c5b20b279325d27eefab8ace30bfe1effb4c8f1a 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
+// RUN: %llvmgxx -S %s -o - | FileCheck %s
 // XFAIL: arm,powerpc
 
 // rdar://7268289
index 358b801af55695beb66339e71f7340de3a932553..a5ca5c76559ad78e392944c9b3e6e01abbd8a59f 100644 (file)
@@ -1,6 +1,6 @@
 // PR1602
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | not grep ptrtoint
-// RUN: %llvmgxx -c -emit-llvm %s -o - -O3 | llvm-dis | grep getelementptr | count 1
+// RUN: %llvmgxx -S %s -o - -O3 | not grep ptrtoint
+// RUN: %llvmgxx -S %s -o - -O3 | grep getelementptr | count 1
 
 
 struct S { virtual void f(); };
index 1c07aedd093d0b41ee2951017395bd7e6e96fb79..c4de76acc30b0c5edf509c3f88371d5345b67bb3 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | FileCheck %s
+// RUN: %llvmgxx -S %s -o - | FileCheck %s
 // rdar://7309675
 // PR4678
 
index 94360c2e97ee3e8961a8f109001e50462028b634..f4f0ba19ef3736b95a8a62d553fb5590ce072f98 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx %s -S -emit-llvm -O2 -o - | not grep {_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag}
+// RUN: %llvmgxx %s -S -O2 -o - | not grep {_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag}
 // PR4262
 
 // The "basic_string" extern template instantiation declaration is supposed to
index ec69afc2154107b84d6090745003fa427aa7c9c9..f81854e0cb92683555980793852492ad641ad90d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %llvmgxx -S -emit-llvm %s -o - | grep byval | count 2
+// RUN: %llvmgxx -S %s -o - | grep byval | count 2
 // XTARGET: x86
 // PR4242
 // (PR 4242 bug is on 64-bit only, test passes on x86-32 as well)