[llvm-commits] [parallel] CVS: llvm/lib/Bytecode/Reader/InstructionReader.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue Mar 30 15:56:03 PST 2004
Changes in directory llvm/lib/Bytecode/Reader:
InstructionReader.cpp updated: 1.66.2.2 -> 1.66.2.3
---
Log message:
Merge from trunk.
---
Diffs of the changes: (+5 -0)
Index: llvm/lib/Bytecode/Reader/InstructionReader.cpp
diff -u llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.66.2.2 llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.66.2.3
--- llvm/lib/Bytecode/Reader/InstructionReader.cpp:1.66.2.2 Mon Mar 1 17:58:13 2004
+++ llvm/lib/Bytecode/Reader/InstructionReader.cpp Tue Mar 30 15:55:01 2004
@@ -156,6 +156,11 @@
case Instruction::Cast:
Result = new CastInst(getValue(RI.Type, Args[0]), getType(Args[1]));
break;
+ case Instruction::Select:
+ Result = new SelectInst(getValue(Type::BoolTyID, Args[0]),
+ getValue(RI.Type, Args[1]),
+ getValue(RI.Type, Args[2]));
+ break;
case Instruction::PHI: {
if (Args.size() == 0 || (Args.size() & 1))
throw std::string("Invalid phi node encountered!\n");
More information about the llvm-commits
mailing list