mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-14 03:50:48 +00:00
Allow bugpoint+PPC codegen to use fsqrt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efa6abcb95
commit
d00b28809d
@ -385,6 +385,9 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
|||||||
GCCArgs.push_back("-fno-strict-aliasing");
|
GCCArgs.push_back("-fno-strict-aliasing");
|
||||||
} else {
|
} else {
|
||||||
GCCArgs.push_back("assembler");
|
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(ProgramFile.c_str()); // Specify the input filename...
|
||||||
GCCArgs.push_back("-o");
|
GCCArgs.push_back("-o");
|
||||||
|
@ -385,6 +385,9 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
|
|||||||
GCCArgs.push_back("-fno-strict-aliasing");
|
GCCArgs.push_back("-fno-strict-aliasing");
|
||||||
} else {
|
} else {
|
||||||
GCCArgs.push_back("assembler");
|
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(ProgramFile.c_str()); // Specify the input filename...
|
||||||
GCCArgs.push_back("-o");
|
GCCArgs.push_back("-o");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user