mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-18 01:17:46 +00:00
Fixing another -Wunused-variable warning, this time in release builds without asserts. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
88e25192c2
commit
22376afd76
@ -2550,9 +2550,9 @@ X86TargetLowering::LowerFormalArguments(SDValue Chain,
|
||||
}
|
||||
|
||||
// Figure out if XMM registers are in use.
|
||||
bool NoImplicitFloatOps = Fn->getAttributes().hasAttribute(
|
||||
AttributeSet::FunctionIndex, Attribute::NoImplicitFloat);
|
||||
assert(!(MF.getTarget().Options.UseSoftFloat && NoImplicitFloatOps) &&
|
||||
assert(!(MF.getTarget().Options.UseSoftFloat &&
|
||||
Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
|
||||
Attribute::NoImplicitFloat)) &&
|
||||
"SSE register cannot be used when SSE is disabled!");
|
||||
|
||||
// 64-bit calling conventions support varargs and register parameters, so we
|
||||
|
Loading…
Reference in New Issue
Block a user