projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8387ea
)
Silence clang warning: variable ‘Status’ set but not used.
author
Yaron Keren
<yaron.keren@gmail.com>
Sun, 27 Sep 2015 21:31:33 +0000
(21:31 +0000)
committer
Yaron 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
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index 0a089d9de1e1ce8bce4c51078437df6f9d012ff2..3725117f85243b717386ace4b3d1fc2753789abe 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
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.