diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-01 03:45:43 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-01 03:45:43 +0000 |
commit | 5e2e0cb9aa599b015ef7edd09a5ff822b6bb5b77 (patch) | |
tree | 35cc2d53548673a8bf0cfd54c338c6d8550e0a2d /llvm/lib/ExecutionEngine | |
parent | f84930746ec85c5540695cb0d206553af812c37d (diff) | |
download | bcm5719-llvm-5e2e0cb9aa599b015ef7edd09a5ff822b6bb5b77.tar.gz bcm5719-llvm-5e2e0cb9aa599b015ef7edd09a5ff822b6bb5b77.zip |
Remove unnecessary sign conversions made possible by last patch.
llvm-svn: 31339
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index c10dbbd1236..5a7181f83eb 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -260,8 +260,6 @@ static GenericValue executeMulInst(GenericValue Src1, GenericValue Src2, static GenericValue executeUDivInst(GenericValue Src1, GenericValue Src2, const Type *Ty) { GenericValue Dest; - if (Ty->isSigned()) - Ty = Ty->getUnsignedVersion(); switch (Ty->getTypeID()) { IMPLEMENT_SIGNLESS_BINOP(/, UByte, SByte); IMPLEMENT_SIGNLESS_BINOP(/, UShort, Short); @@ -277,8 +275,6 @@ static GenericValue executeUDivInst(GenericValue Src1, GenericValue Src2, static GenericValue executeSDivInst(GenericValue Src1, GenericValue Src2, const Type *Ty) { GenericValue Dest; - if (Ty->isUnsigned()) - Ty = Ty->getSignedVersion(); switch (Ty->getTypeID()) { IMPLEMENT_SIGNLESS_BINOP(/, SByte, UByte); IMPLEMENT_SIGNLESS_BINOP(/, Short, UShort); |