mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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
This commit is contained in:
parent
d840bf4ba9
commit
88e25192c2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user