mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
[SimplifyLibCalls] Enable double to float shrinking for copysign
rdar://19049359 Differential Revision: http://reviews.llvm.org/D6495 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2177,6 +2177,7 @@ Value *LibCallSimplifier::optimizeCall(CallInst *CI) {
|
||||
if (UnsafeFPShrink && hasFloatVersion(FuncName))
|
||||
return optimizeUnaryDoubleFP(CI, Builder, true);
|
||||
return nullptr;
|
||||
case LibFunc::copysign:
|
||||
case LibFunc::fmin:
|
||||
case LibFunc::fmax:
|
||||
if (hasFloatVersion(FuncName))
|
||||
|
Reference in New Issue
Block a user