summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-21 00:29:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-21 00:29:26 +0000
commit2eadb5310d60ede90cca5dad4ba1b50ea742e0de (patch)
tree0815cc34b61fd4a300dc93b111809b7503f5cbc1 /llvm/lib/ExecutionEngine/Interpreter
parent9a4bed06dd0a9e95a893d27b01fe8d9d3b31cbb1 (diff)
downloadbcm5719-llvm-2eadb5310d60ede90cca5dad4ba1b50ea742e0de.tar.gz
bcm5719-llvm-2eadb5310d60ede90cca5dad4ba1b50ea742e0de.zip
For PR970:
Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! llvm-svn: 33415
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 41d7aad8265..2ddfc97c1b4 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -1498,7 +1498,7 @@ GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, const Type *DstTy,
const IntegerType *SITy = cast<IntegerType>(SrcTy);
unsigned SBitWidth = SITy->getBitWidth();
assert(SBitWidth <= 64 && "Integer types > 64 bits not supported");
- assert(DstTy->isFloatingPoint() && "Invalid UIToFP instruction");
+ assert(DstTy->isFloatingPoint() && "Invalid SIToFP instruction");
int64_t Converted = 0;
if (SBitWidth == 1)
Converted = 0LL - Src.Int1Val;
OpenPOWER on IntegriCloud