From: Craig Topper Date: Mon, 24 Dec 2018 05:45:45 +0000 (+0000) Subject: [X86] Remove unused variables left after r350041. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6246d60879251c3ee1dc7761afab773c8da62784;p=llvm [X86] Remove unused variables left after r350041. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350043 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 85bcb8d2803..1fb1aa12de6 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -18640,12 +18640,6 @@ static SDValue EmitTest(SDValue Op, unsigned X86CC, const SDLoc &dl, SDValue ArithOp = Op; - // Sometimes flags can be set either with an AND or with an SRL/SHL - // instruction. SRL/SHL variant should be preferred for masks longer than this - // number of bits. - const int ShiftToAndMaxMaskWidth = 32; - const bool ZeroCheck = (X86CC == X86::COND_E || X86CC == X86::COND_NE); - // NOTICE: In the code below we use ArithOp to hold the arithmetic operation // which may be the result of a CAST. We use the variable 'Op', which is the // non-casted variable when we check for possible users.