[llvm] r350043 - [X86] Remove unused variables left after r350041. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 23 21:45:46 PST 2018
Author: ctopper
Date: Sun Dec 23 21:45:45 2018
New Revision: 350043
URL: http://llvm.org/viewvc/llvm-project?rev=350043&view=rev
Log:
[X86] Remove unused variables left after r350041. NFC
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=350043&r1=350042&r2=350043&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Dec 23 21:45:45 2018
@@ -18640,12 +18640,6 @@ static SDValue EmitTest(SDValue Op, unsi
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.
More information about the llvm-commits
mailing list