aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-29 13:14:24 +0000
committerChris Lattner <sabre@nondot.org>2005-08-29 13:14:24 +0000
commitd00b28809d64efa699507bce2ffce167559cd0d1 (patch)
tree2af6ea0050233c72b26447a80e34c4d1a0397b34 /tools/bugpoint/ToolRunner.cpp
parentefa6abcb957b9002a7e6708eb6f7885a93957ea7 (diff)
downloadexternal_llvm-d00b28809d64efa699507bce2ffce167559cd0d1.zip
external_llvm-d00b28809d64efa699507bce2ffce167559cd0d1.tar.gz
external_llvm-d00b28809d64efa699507bce2ffce167559cd0d1.tar.bz2
Allow bugpoint+PPC codegen to use fsqrt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.cpp')
-rw-r--r--tools/bugpoint/ToolRunner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index f516986..6480c23 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/tools/bugpoint/ToolRunner.cpp
@@ -385,6 +385,9 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
GCCArgs.push_back("-fno-strict-aliasing");
} else {
GCCArgs.push_back("assembler");
+#ifdef __APPLE__
+ GCCArgs.push_back("-force_cpusubtype_ALL");
+#endif
}
GCCArgs.push_back(ProgramFile.c_str()); // Specify the input filename...
GCCArgs.push_back("-o");