Skip to content

Commit 8fc800a

Browse files
author
git apple-llvm automerger
committed
Merge commit 'c37a8acef642' from llvm.org/master into apple/main
2 parents 991156c + c37a8ac commit 8fc800a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -859,11 +859,6 @@ class TargetTransformInfoImplCRTPBase : public TargetTransformInfoImplBase {
859859
case Instruction::Call: {
860860
assert(isa<IntrinsicInst>(U) && "Unexpected non-intrinsic call");
861861
auto *Intrinsic = cast<IntrinsicInst>(U);
862-
// FIXME: We shouldn't have this exception for RecipThroughput.
863-
if (CostKind == TTI::TCK_RecipThroughput) {
864-
IntrinsicCostAttributes CostAttrs(*Intrinsic);
865-
return TargetTTI->getIntrinsicInstrCost(CostAttrs, CostKind);
866-
}
867862
IntrinsicCostAttributes CostAttrs(Intrinsic->getIntrinsicID(), *CB);
868863
return TargetTTI->getIntrinsicInstrCost(CostAttrs, CostKind);
869864
}

0 commit comments

Comments
 (0)