llvm/lib
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
..
Analysis Teach ScalarEvolution to consider loop preheaders in the search for 2008-09-15 22:18:04 +00:00
Archive Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
AsmParser Update generated files. 2008-09-09 01:13:24 +00:00
Bitcode Re-enables the new vector select in the bitcode reader, by modifying the 2008-09-16 01:01:33 +00:00
CodeGen Live intervals for live-in registers should begin at the beginning of a basic block, not at the first 2008-09-15 22:00:38 +00:00
Debugger Add #include 2008-08-23 21:34:34 +00:00
ExecutionEngine Make safer variant of alias resolution routine to be default 2008-09-09 20:05:04 +00:00
Linker Make safer variant of alias resolution routine to be default 2008-09-09 20:05:04 +00:00
Support Updating VC++ project. 2008-08-24 11:56:40 +00:00
System add a helper method to sys::Path for clang, patch by 2008-08-11 23:39:47 +00:00
Target Fixed Bug 2751 2008-09-15 21:06:55 +00:00
Transforms Teach LSR to optimize away SMAX operations for tripcounts in common 2008-09-15 21:22:06 +00:00
VMCore Fix WriteAsOperand to not emit a leading space character. Adjust 2008-09-14 17:21:12 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00