Changes in directory llvm/tools/llvm2cpp:
CppWriter.cpp updated: 1.16.2.1 -> 1.16.2.2 --- Log message: Div -> SDiv/UDiv --- Diffs of the changes: (+6 -3) CppWriter.cpp | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) Index: llvm/tools/llvm2cpp/CppWriter.cpp diff -u llvm/tools/llvm2cpp/CppWriter.cpp:1.16.2.1 llvm/tools/llvm2cpp/CppWriter.cpp:1.16.2.2 --- llvm/tools/llvm2cpp/CppWriter.cpp:1.16.2.1 Wed Oct 18 22:57:56 2006 +++ llvm/tools/llvm2cpp/CppWriter.cpp Fri Oct 20 03:22:22 2006 @@ -773,7 +773,8 @@ case Instruction::Add: Out << "getAdd"; break; case Instruction::Sub: Out << "getSub"; break; case Instruction::Mul: Out << "getMul"; break; - case Instruction::Div: Out << "getDiv"; break; + case Instruction::UDiv: Out << "getUDiv"; break; + case Instruction::SDiv: Out << "getSDiv"; break; case Instruction::Rem: Out << "getRem"; break; case Instruction::And: Out << "getAnd"; break; case Instruction::Or: Out << "getOr"; break; @@ -1021,7 +1022,8 @@ case Instruction::Add: case Instruction::Sub: case Instruction::Mul: - case Instruction::Div: + case Instruction::UDiv: + case Instruction::SDiv: case Instruction::Rem: case Instruction::And: case Instruction::Or: @@ -1033,7 +1035,8 @@ case Instruction::Add: Out << "Instruction::Add"; break; case Instruction::Sub: Out << "Instruction::Sub"; break; case Instruction::Mul: Out << "Instruction::Mul"; break; - case Instruction::Div: Out << "Instruction::Div"; break; + case Instruction::UDiv:Out << "Instruction::UDiv"; break; + case Instruction::SDiv:Out << "Instruction::SDiv"; break; case Instruction::Rem: Out << "Instruction::Rem"; break; case Instruction::And: Out << "Instruction::And"; break; case Instruction::Or: Out << "Instruction::Or"; break; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits