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
Showing
- docs/LangRef.html 50 additions, 21 deletionsdocs/LangRef.html
- include/llvm/Bitcode/LLVMBitCodes.h 3 additions, 1 deletioninclude/llvm/Bitcode/LLVMBitCodes.h
- include/llvm/InstrTypes.h 8 additions, 0 deletionsinclude/llvm/InstrTypes.h
- include/llvm/Instructions.h 14 additions, 8 deletionsinclude/llvm/Instructions.h
- lib/AsmParser/llvmAsmParser.y 19 additions, 10 deletionslib/AsmParser/llvmAsmParser.y
- lib/Bitcode/Reader/BitcodeReader.cpp 28 additions, 1 deletionlib/Bitcode/Reader/BitcodeReader.cpp
- lib/Bitcode/Writer/BitcodeWriter.cpp 16 additions, 2 deletionslib/Bitcode/Writer/BitcodeWriter.cpp
- lib/VMCore/Verifier.cpp 17 additions, 4 deletionslib/VMCore/Verifier.cpp
- test/Assembler/vbool-cmp.ll 15 additions, 0 deletionstest/Assembler/vbool-cmp.ll
- test/Assembler/vector-select.ll 11 additions, 0 deletionstest/Assembler/vector-select.ll
Loading
Please register or sign in to comment