summaryrefslogtreecommitdiffstats
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
commit0adc3fe9e7a73351a2e948d83621c1c9b940b4bf (patch)
treefebdedc37913fb7127829be0deea1f20dfb2f351
parent610c76534f9490efdef340ac03a8d117daa4df06 (diff)
downloadbcm5719-llvm-0adc3fe9e7a73351a2e948d83621c1c9b940b4bf.tar.gz
bcm5719-llvm-0adc3fe9e7a73351a2e948d83621c1c9b940b4bf.zip
[X86] Remove unused variables left after r350041. NFC
llvm-svn: 350043
-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.
OpenPOWER on IntegriCloud