Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.132 -> 1.133 --- Log message: For PR950: http://llvm.org/PR950 : Implement read/write of ICmp and FCmp constant expressions --- Diffs of the changes: (+2 -0) Writer.cpp | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.132 llvm/lib/Bytecode/Writer/Writer.cpp:1.133 --- llvm/lib/Bytecode/Writer/Writer.cpp:1.132 Sun Dec 3 11:17:02 2006 +++ llvm/lib/Bytecode/Writer/Writer.cpp Sun Dec 3 23:23:49 2006 @@ -303,6 +303,8 @@ Slot = Table.getSlot((*OI)->getType()); output_typeid((unsigned)Slot); } + if (CE->isCompare()) + output_vbr((unsigned)CE->getPredicate()); return; } else if (isa<UndefValue>(CPV)) { output_vbr(1U); // 1 -> UndefValue constant. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits