From 88e25192c293917dca228b97c8f0bc35fdaf092d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 27 Dec 2014 19:01:19 +0000 Subject: [PATCH] Removing a variable that is set but never used, to silence a -Wunused-but-set-variable warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224888 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index f057d0fa2d4..2c62cbc9b06 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -2550,14 +2550,10 @@ X86TargetLowering::LowerFormalArguments(SDValue Chain, } // Figure out if XMM registers are in use. - bool HaveXMMArgs = Is64Bit && !IsWin64; bool NoImplicitFloatOps = Fn->getAttributes().hasAttribute( AttributeSet::FunctionIndex, Attribute::NoImplicitFloat); assert(!(MF.getTarget().Options.UseSoftFloat && NoImplicitFloatOps) && "SSE register cannot be used when SSE is disabled!"); - if (MF.getTarget().Options.UseSoftFloat || NoImplicitFloatOps || - !Subtarget->hasSSE1()) - HaveXMMArgs = false; // 64-bit calling conventions support varargs and register parameters, so we // have to do extra work to spill them in the prologue.