Remove explicit uses of -emit-llvm, the test infrastructure adds it
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).
llvm-svn: 120160
diff --git a/llvm/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp b/llvm/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp
index ec69afc..f81854e 100644
--- a/llvm/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp
+++ b/llvm/test/FrontendC++/x86-64-abi-sret-vs-2word-struct-param.cpp
@@ -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)