Mark variable 'NoImplicitFloatOps' used only in an assert as used.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 12 Oct 2010 18:18:03 +0000 (18:18 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 12 Oct 2010 18:18:03 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116323 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 3e0d100cfc71a02e8fe9d2b8f8f07600df251118..8ed52158a27eb0ffec6a2cda7bdb48fc7262bc89 100644 (file)
@@ -7605,6 +7605,7 @@ SDValue X86TargetLowering::LowerVAARG(SDValue Op, SelectionDAG &DAG) const {
     const Function *Fn = DAG.getMachineFunction().getFunction();
     bool NoImplicitFloatOps = Fn->hasFnAttr(Attribute::NoImplicitFloat);
     assert(!UseSoftFloat && !NoImplicitFloatOps && Subtarget->hasSSE1());
+    (void)NoImplicitFloatOps;
   }
 
   // Insert VAARG_64 node into the DAG