mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 02:22:31 +00:00
Enable printf() to iprintf() optimization for the TCE target.
Patch by Pekka Jaaskelainen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78a113cbff
commit
9fe88973be
@ -38,8 +38,8 @@ static void initialize(TargetLibraryInfo &TLI, const Triple &T) {
|
||||
TLI.setUnavailable(LibFunc::memset_pattern16);
|
||||
}
|
||||
|
||||
// iprintf and friends are only available on XCore.
|
||||
if (T.getArch() != Triple::xcore) {
|
||||
// iprintf and friends are only available on XCore and TCE.
|
||||
if (T.getArch() != Triple::xcore && T.getArch() != Triple::tce) {
|
||||
TLI.setUnavailable(LibFunc::iprintf);
|
||||
TLI.setUnavailable(LibFunc::siprintf);
|
||||
TLI.setUnavailable(LibFunc::fiprintf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user