projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0edc47a
)
Remove no-longer-used variable.
author
Dale Johannesen
<dalej@apple.com>
Tue, 25 Sep 2007 23:32:20 +0000
(23:32 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Tue, 25 Sep 2007 23:32:20 +0000
(23:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42329
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/ConstantFold.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/ConstantFold.cpp
b/lib/VMCore/ConstantFold.cpp
index 7154afb1833a74c43842850b36b8454ebc06af6f..73ca47a9aa56c565f3e69b5e19d2c698d15fcb10 100644
(file)
--- a/
lib/VMCore/ConstantFold.cpp
+++ b/
lib/VMCore/ConstantFold.cpp
@@
-194,9
+194,8
@@
Constant *llvm::ConstantFoldCastInstruction(unsigned opc, const Constant *V,
APFloat V = FPC->getValueAPF();
uint64_t x[2];
uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth();
- APFloat::opStatus status = V.convertToInteger(x, DestBitWidth,
- opc==Instruction::FPToSI,
- APFloat::rmTowardZero);
+ (void) V.convertToInteger(x, DestBitWidth, opc==Instruction::FPToSI,
+ APFloat::rmTowardZero);
APInt Val(DestBitWidth, 2, x);
return ConstantInt::get(Val);
}