[mlir][AVX512] Fix result type of vp2intersect
authorMatthias Springer <springerm@google.com>
Sun, 31 Jan 2021 02:57:50 +0000 (11:57 +0900)
committerMatthias Springer <springerm@google.com>
Sun, 31 Jan 2021 03:03:46 +0000 (12:03 +0900)
commit5ec59f021ceb09cff32c0fb4c24310362d08ea63
treea843febf7642bba89c6055789c746fc737ec92af
parent6f3d322f250d2381370b256e648cbb76c6de0135
[mlir][AVX512] Fix result type of vp2intersect

The result values of vp2intersect are vectors of bits, i.e.,
vector<8xi1> or vector<16xi8> (instead of i8 or i16).

Differential Revision: https://reviews.llvm.org/D95678
mlir/include/mlir/Dialect/AVX512/AVX512.td
mlir/test/Conversion/AVX512ToLLVM/convert-to-llvm.mlir
mlir/test/Dialect/AVX512/roundtrip.mlir