summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
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
commit1a1ecf06799916a578b198da7dea0019a31c1598 (patch)
treea8b815973fa0bcaf0bd2e06015189313ba4bbf95 /llvm/lib/Support
parentc429ab2fb12f82aa2a379effabf45caf8c705099 (diff)
downloadbcm5719-llvm-1a1ecf06799916a578b198da7dea0019a31c1598.tar.gz
bcm5719-llvm-1a1ecf06799916a578b198da7dea0019a31c1598.zip
Allow bugpoint+PPC codegen to use fsqrt
llvm-svn: 23128
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/ToolRunner.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/ToolRunner.cpp b/llvm/lib/Support/ToolRunner.cpp
index f516986f133..6480c23cd8e 100644
--- a/llvm/lib/Support/ToolRunner.cpp
+++ b/llvm/lib/Support/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");
OpenPOWER on IntegriCloud