From 8360719dc63eee61defc90da5f26607311b5e11b Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 24 Dec 2018 05:45:45 +0000 Subject: [X86] Remove unused variables left after r350041. NFC --- llvm/lib/Target/X86/X86ISelLowering.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 85bcb8d2803..1fb1aa12de6 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/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. -- cgit v1.2.3