llvm-6502/include/llvm/Bitcode
Dan Gohman fb2bbbe786 Re-enables the new vector select in the bitcode reader, by modifying the
bitcode reader/writer as follows:

- add and use new bitcode FUNC_CODE_INST_VSELECT to handle the llvm
select opcode using either i1 or [N x i1] as the selector.
- retain old BITCODE FUNC_CODE_INST_SELECT in the bitcode reader to
handle select on i1 for backwards compatibility with existing bitcode
files.
- re-enable the vector-select.ll test program.

Also, rename the recently added bitcode opcode FUNC_CODE_INST_VCMP to
FUNC_CODE_INST_CMP2 and make the bitcode writer use it to handle
fcmp/icmp on scalars or vectors. In the bitcode writer, use
FUNC_CODE_INST_CMP for vfcmp/vicmp only. In the bitcode reader, have
FUNC_CODE_INST_CMP handle icmp/fcmp returning bool, for backwards
compatibility with existing bitcode files.

Patch by Preston Gurd!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56233 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-16 01:01:33 +00:00
..
Archive.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
BitCodes.h Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
BitstreamReader.h Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
BitstreamWriter.h Add a little wrapper header that is put around bc files when emitting 2008-07-09 05:14:23 +00:00
Deserialize.h Initialize a local variable. 2008-05-01 17:08:00 +00:00
LLVMBitCodes.h Re-enables the new vector select in the bitcode reader, by modifying the 2008-09-16 01:01:33 +00:00
ReaderWriter.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Serialization.h Add member template version of SerializeTrait<T>::Create that also accepts 2008-04-03 16:44:37 +00:00
SerializationFwd.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Serialize.h Make a note of the fact that EmitOwnedPtr() has nothing to do with the 2008-03-25 04:41:18 +00:00