summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-09-27 21:31:33 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-09-27 21:31:33 +0000
commite5a9dc2f5bd1064002017183bc47c7415839445d (patch)
tree1d489002b7b9674dcd9e7c6b72f8098e5311009a /llvm
parentf1090b6061b34177ad826a595064232a1c08fb4e (diff)
downloadbcm5719-llvm-e5a9dc2f5bd1064002017183bc47c7415839445d.tar.gz
bcm5719-llvm-e5a9dc2f5bd1064002017183bc47c7415839445d.zip
Silence clang warning: variable ‘Status’ set but not used.
llvm-svn: 248691
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 0a089d9de1e..3725117f852 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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.
OpenPOWER on IntegriCloud