diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-21 00:29:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-21 00:29:26 +0000 |
commit | 24d6da5fedcf39891f7d8c5b031c01324b3db545 (patch) | |
tree | e7fd1eac07e11c2f15075d23f3c07a5ff48ff1cd /lib/ExecutionEngine/Interpreter | |
parent | 67f827ce5ba1296db9051892b4a8e10920053933 (diff) | |
download | external_llvm-24d6da5fedcf39891f7d8c5b031c01324b3db545.zip external_llvm-24d6da5fedcf39891f7d8c5b031c01324b3db545.tar.gz external_llvm-24d6da5fedcf39891f7d8c5b031c01324b3db545.tar.bz2 |
For PR970:
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 41d7aad..2ddfc97 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/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; |