Use -emit-llvm -S to get .ll file output from llvm-gcc
authorChris Lattner <sabre@nondot.org>
Mon, 27 Feb 2006 05:39:00 +0000 (05:39 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 27 Feb 2006 05:39:00 +0000 (05:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26397 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 38b6078c3601d0b05135636b5c78567600d81501..531f72b1c554a8acb2a3d8f7b8698d9cd8ac0e71 100644 (file)
@@ -568,7 +568,7 @@ AC_CACHE_CHECK([whether llvm-gcc is sane],[llvm_cv_llvmgcc_sanity],
 [llvm_cv_llvmgcc_sanity="no"
 if test -x "$LLVMGCC" ; then
   cp /dev/null conftest.c
-  "$LLVMGCC" -S -o - conftest.c | grep implementation > /dev/null 2>&1
+  "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
   if test $? -eq 0 ; then
     llvm_cv_llvmgcc_sanity="yes"
   fi
index 1a04edd8221a14fc5b910c713b099bafbf1332ba..ec46bd3db4e7b44189d2ce61b540028efc0ca389 100755 (executable)
--- a/configure
+++ b/configure
@@ -30613,7 +30613,7 @@ else
   llvm_cv_llvmgcc_sanity="no"
 if test -x "$LLVMGCC" ; then
   cp /dev/null conftest.c
-  "$LLVMGCC" -S -o - conftest.c | grep implementation > /dev/null 2>&1
+  "$LLVMGCC" -emit-llvm -S -o - conftest.c | grep implementation > /dev/null 2>&1
   if test $? -eq 0 ; then
     llvm_cv_llvmgcc_sanity="yes"
   fi