mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-11 15:07:58 +00:00
Fixed unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
318defeca7
commit
ae43f39965
@ -7818,7 +7818,6 @@ static SDValue lowerVectorShuffleAsBitShift(SDLoc DL, MVT VT, SDValue V1,
|
||||
SDValue V2, ArrayRef<int> Mask,
|
||||
SelectionDAG &DAG) {
|
||||
SmallBitVector Zeroable = computeZeroableShuffleElements(Mask, V1, V2);
|
||||
const TargetLowering &TLI = DAG.getTargetLoweringInfo();
|
||||
|
||||
int Size = Mask.size();
|
||||
assert(Size == VT.getVectorNumElements() && "Unexpected mask size");
|
||||
@ -7832,7 +7831,8 @@ static SDValue lowerVectorShuffleAsBitShift(SDLoc DL, MVT VT, SDValue V1,
|
||||
auto MatchBitShift = [&](int Shift, int Scale) -> SDValue {
|
||||
MVT ShiftSVT = MVT::getIntegerVT(VT.getScalarSizeInBits() * Scale);
|
||||
MVT ShiftVT = MVT::getVectorVT(ShiftSVT, Size / Scale);
|
||||
assert(TLI.isTypeLegal(ShiftVT) && "Illegal integer vector type");
|
||||
assert(DAG.getTargetLoweringInfo().isTypeLegal(ShiftVT) &&
|
||||
"Illegal integer vector type");
|
||||
|
||||
bool MatchLeft = true, MatchRight = true;
|
||||
for (int i = 0; i != Size; i += Scale) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user