[llvm-commits] [SignlessTypes] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Reid Spencer
reid at x10sys.com
Fri Oct 20 01:20:10 PDT 2006
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.139.6.1 -> 1.139.6.2
---
Log message:
Committing Remainder of Div -> SDiv/UDiv changes so the tree builds again.
---
Diffs of the changes: (+4 -2)
Execution.cpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.1 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.2
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139.6.1 Wed Oct 18 22:57:56 2006
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Fri Oct 20 03:19:49 2006
@@ -89,7 +89,8 @@
return executeMulInst(getOperandValue(CE->getOperand(0), SF),
getOperandValue(CE->getOperand(1), SF),
CE->getOperand(0)->getType());
- case Instruction::Div:
+ case Instruction::SDiv:
+ case Instruction::UDiv:
return executeDivInst(getOperandValue(CE->getOperand(0), SF),
getOperandValue(CE->getOperand(1), SF),
CE->getOperand(0)->getType());
@@ -504,7 +505,8 @@
case Instruction::Add: R = executeAddInst (Src1, Src2, Ty); break;
case Instruction::Sub: R = executeSubInst (Src1, Src2, Ty); break;
case Instruction::Mul: R = executeMulInst (Src1, Src2, Ty); break;
- case Instruction::Div: R = executeDivInst (Src1, Src2, Ty); break;
+ case Instruction::SDiv: R = executeDivInst (Src1, Src2, Ty); break;
+ case Instruction::UDiv: R = executeDivInst (Src1, Src2, Ty); break;
case Instruction::Rem: R = executeRemInst (Src1, Src2, Ty); break;
case Instruction::And: R = executeAndInst (Src1, Src2, Ty); break;
case Instruction::Or: R = executeOrInst (Src1, Src2, Ty); break;
More information about the llvm-commits
mailing list