Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 3f3f65a

Browse files
committed
Fix unused variable warning. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251189 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d0ca754 commit 3f3f65a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18834,11 +18834,10 @@ static SDValue LowerRotate(SDValue Op, const X86Subtarget *Subtarget,
1883418834
SDLoc DL(Op);
1883518835
SDValue R = Op.getOperand(0);
1883618836
SDValue Amt = Op.getOperand(1);
18837-
unsigned Opc = Op.getOpcode();
1883818837

1883918838
assert(VT.isVector() && "Custom lowering only for vector rotates!");
1884018839
assert(Subtarget->hasXOP() && "XOP support required for vector rotates!");
18841-
assert((Opc == ISD::ROTL) && "Only ROTL supported");
18840+
assert((Op.getOpcode() == ISD::ROTL) && "Only ROTL supported");
1884218841

1884318842
// XOP has 128-bit vector variable + immediate rotates.
1884418843
// +ve/-ve Amt = rotate left/right.

0 commit comments

Comments
 (0)