[llvm] 051f293 - [X86] Remove unused canScaleShuffleElements helper
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 06:51:45 PDT 2020
Author: Simon Pilgrim
Date: 2020-08-04T14:51:23+01:00
New Revision: 051f293b7881116c0d4aae6e2ee0470b3ca58886
URL: https://github.com/llvm/llvm-project/commit/051f293b7881116c0d4aae6e2ee0470b3ca58886
DIFF: https://github.com/llvm/llvm-project/commit/051f293b7881116c0d4aae6e2ee0470b3ca58886.diff
LOG: [X86] Remove unused canScaleShuffleElements helper
The only use was removed at rG36750ba5bd0e9e72
Thanks to @nemanjai for the heads up
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 1f59cd820ad7..df88bdad1d47 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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);
More information about the llvm-commits
mailing list