summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-12-24 05:45:45 +0000
committerCraig Topper <craig.topper@intel.com>2018-12-24 05:45:45 +0000
commit8360719dc63eee61defc90da5f26607311b5e11b (patch)
tree814ca1ecfbeb320989e76ae2068ea63793be7ec0
parent2f09392136193ce601acbc0a6ac2317ed178ab0c (diff)
[X86] Remove unused variables left after r350041. NFC
-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.