aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-16 01:01:33 +0000
committerDan Gohman <gohman@apple.com>2008-09-16 01:01:33 +0000
commitc5d2892e62203e4701bb7807af8f8ef121fab6fb (patch)
treeb76149977721b2c48568b1048ed9fef3263127b7 /llvm/lib/CodeGen/MachineFunction.cpp
parentf9081a2cd57a9999fcc48d35ac3456d67d1b2830 (diff)
downloadllvm-c5d2892e62203e4701bb7807af8f8ef121fab6fb.zip
llvm-c5d2892e62203e4701bb7807af8f8ef121fab6fb.tar.gz
llvm-c5d2892e62203e4701bb7807af8f8ef121fab6fb.tar.bz2
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! llvm-svn: 56233
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions