forked from OSchip/llvm-project
parent
af52c52569
commit
5003782293
|
@ -1251,7 +1251,7 @@ struct SPrintFOpt : public LibCallOptimization {
|
||||||
return V;
|
return V;
|
||||||
}
|
}
|
||||||
|
|
||||||
// sprintf(str, format, ...) -> iprintf(str, format, ...) if no floating
|
// sprintf(str, format, ...) -> siprintf(str, format, ...) if no floating
|
||||||
// point arguments.
|
// point arguments.
|
||||||
if (TLI->has(LibFunc::siprintf) && !CallHasFloatingPointArgument(CI)) {
|
if (TLI->has(LibFunc::siprintf) && !CallHasFloatingPointArgument(CI)) {
|
||||||
Module *M = B.GetInsertBlock()->getParent()->getParent();
|
Module *M = B.GetInsertBlock()->getParent()->getParent();
|
||||||
|
|
Loading…
Reference in New Issue