Extend the vcmp/fcmp LLVM IR instructions to take vectors as arguments
authorDan Gohman <gohman@apple.com>
Tue, 9 Sep 2008 01:02:47 +0000 (01:02 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 9 Sep 2008 01:02:47 +0000 (01:02 +0000)
commitf72fb679eff7de84e3e18b75d63a18cb3510bcdd
treedbb8edc6c23b2810ff37d055e1f19f2a81bcb504
parent3eb594013f666d6af9f943df5fb6ac4d902debee
Extend the vcmp/fcmp LLVM IR instructions to take vectors as arguments
and, if so, to return a vector of boolean as a result;

Extend the select LLVM IR instruction to allow you to specify a result
type which is a vector of boolean, in which case the result will be an
element-wise selection instead of choosing one vector or the other; and

Update LangRef.html to describe these changes.

This patch was contributed by Preston Gurd!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55969 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/InstrTypes.h
include/llvm/Instructions.h
lib/AsmParser/llvmAsmParser.y
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/VMCore/Verifier.cpp
test/Assembler/vbool-cmp.ll [new file with mode: 0644]
test/Assembler/vector-select.ll [new file with mode: 0644]