diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-12-27 19:17:53 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-12-27 19:17:53 +0000 |
commit | 4eb5c2e089218940cb8b9a8b0d26fed7ba39b89e (patch) | |
tree | 95971b09d9a0ae11dc61b33bd865df1c659cf64f | |
parent | b66d54c5493528e1bd840a27bee7738484ed97f6 (diff) | |
download | bcm5719-llvm-4eb5c2e089218940cb8b9a8b0d26fed7ba39b89e.tar.gz bcm5719-llvm-4eb5c2e089218940cb8b9a8b0d26fed7ba39b89e.zip |
Fixing another -Wunused-variable warning, this time in release builds without asserts. NFC.
llvm-svn: 224889
-rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 2c62cbc9b06..77a1d6e69fe 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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 |