summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 0 insertions, 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.