diff options
Diffstat (limited to 'lib/Target/ARM/ARMTargetTransformInfo.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMTargetTransformInfo.cpp | 19 | 
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/Target/ARM/ARMTargetTransformInfo.cpp b/lib/Target/ARM/ARMTargetTransformInfo.cpp index cae01e415eff1..43d7888075b56 100644 --- a/lib/Target/ARM/ARMTargetTransformInfo.cpp +++ b/lib/Target/ARM/ARMTargetTransformInfo.cpp @@ -394,25 +394,6 @@ int ARMTTIImpl::getAddressComputationCost(Type *Ty, ScalarEvolution *SE,    return 1;  } -int ARMTTIImpl::getFPOpCost(Type *Ty) { -  // Use similar logic that's in ARMISelLowering: -  // Any ARM CPU with VFP2 has floating point, but Thumb1 didn't have access -  // to VFP. - -  if (ST->hasVFP2() && !ST->isThumb1Only()) { -    if (Ty->isFloatTy()) { -      return TargetTransformInfo::TCC_Basic; -    } - -    if (Ty->isDoubleTy()) { -      return ST->isFPOnlySP() ? TargetTransformInfo::TCC_Expensive : -        TargetTransformInfo::TCC_Basic; -    } -  } - -  return TargetTransformInfo::TCC_Expensive; -} -  int ARMTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, Type *Tp, int Index,                                 Type *SubTp) {    // We only handle costs of reverse and alternate shuffles for now.  | 
