Silence clang warning: variable ‘Status’ set but not used.

llvm-svn: 248691
This commit is contained in:
Yaron Keren 2015-09-27 21:31:33 +00:00
parent f1090b6061
commit e5a9dc2f5b
1 changed files with 1 additions and 1 deletions

View 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.