Skip to content

Commit abc6716

Browse files
committed
[RISCV] Remove unused variables. NFC
1 parent 1ab13cc commit abc6716

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7808,10 +7808,6 @@ SDValue RISCVTargetLowering::PerformDAGCombine(SDNode *N,
78087808
case RISCVISD::SHFLW:
78097809
case RISCVISD::UNSHFLW: {
78107810
// Only the lower 32 bits of LHS and lower 4 bits of RHS are read.
7811-
SDValue LHS = N->getOperand(0);
7812-
SDValue RHS = N->getOperand(1);
7813-
APInt LHSMask = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 32);
7814-
APInt RHSMask = APInt::getLowBitsSet(RHS.getValueSizeInBits(), 4);
78157811
if (SimplifyDemandedLowBitsHelper(0, 32) ||
78167812
SimplifyDemandedLowBitsHelper(1, 4))
78177813
return SDValue(N, 0);

0 commit comments

Comments
 (0)