Skip to content

Commit 529b3d1

Browse files
committed
[RISCV][TTI] Remove SK_Select from manual splitting in getShuffleCost
We have general splitting logic for this kind just below, which to my knowledge is both correct and precise. Given no test changes, either a) the adhoc logic works out the same, or b) we have no coverage. I did not investigate which.
1 parent 16f9c5d commit 529b3d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,6 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind,
585585
case TTI::SK_PermuteSingleSrc:
586586
case TTI::SK_Transpose:
587587
case TTI::SK_PermuteTwoSrc:
588-
case TTI::SK_Select:
589588
return true;
590589
}
591590
};

0 commit comments

Comments
 (0)