mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
Enable printf() to iprintf() optimization for the TCE target.
Patch by Pekka Jaaskelainen. llvm-svn: 132774
This commit is contained in:
parent
af60d3ba93
commit
a0c88a5dd5
@ -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