1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[X86] Remove unused canScaleShuffleElements helper

The only use was removed at rG36750ba5bd0e9e72

Thanks to @nemanjai for the heads up
This commit is contained in:
Simon Pilgrim 2020-08-04 14:51:23 +01:00
parent 7529365348
commit 39f039150b

View File

@ -5614,11 +5614,6 @@ static bool scaleShuffleElements(ArrayRef<int> Mask, unsigned NumDstElts,
return false;
}
static bool canScaleShuffleElements(ArrayRef<int> Mask, unsigned NumDstElts) {
SmallVector<int, 32> WidenedMask;
return scaleShuffleElements(Mask, NumDstElts, WidenedMask);
}
/// Returns true if Elt is a constant zero or a floating point constant +0.0.
bool X86::isZeroNode(SDValue Elt) {
return isNullConstant(Elt) || isNullFPConstant(Elt);