Silence clang warning: variable ‘Status’ set but not used.
authorYaron Keren <yaron.keren@gmail.com>
Sun, 27 Sep 2015 21:31:33 +0000 (21:31 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sun, 27 Sep 2015 21:31:33 +0000 (21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248691 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 0a089d9de1e1ce8bce4c51078437df6f9d012ff2..3725117f85243b717386ace4b3d1fc2753789abe 100644 (file)
@@ -12778,7 +12778,7 @@ X86TargetLowering::FP_TO_INTHelper(SDValue Op, SelectionDAG &DAG,
     // for DAG type consistency we have to match the FP operand type.
 
     APFloat Thresh(APFloat::IEEEsingle, APInt(32, 0x5f000000));
-    APFloat::opStatus Status = APFloat::opOK;
+    LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK;
     bool LosesInfo = false;
     if (TheVT == MVT::f64)
       // The rounding mode is irrelevant as the conversion should be exact.