[all-commits] [llvm/llvm-project] 060c9d: [mlir] [VectorOps] Improve SIMD compares with narr...
Aart Bik via All-commits
all-commits at lists.llvm.org
Thu Sep 3 21:44:06 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 060c9dd1cc467cbeb6cf1c29dd44d07f562606b4
https://github.com/llvm/llvm-project/commit/060c9dd1cc467cbeb6cf1c29dd44d07f562606b4
Author: aartbik <ajcbik at google.com>
Date: 2020-09-03 (Thu, 03 Sep 2020)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
A mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/Vector/vector-contract-transforms.mlir
Log Message:
-----------
[mlir] [VectorOps] Improve SIMD compares with narrower indices
When allowed, use 32-bit indices rather than 64-bit indices in the
SIMD computation of masks. This runs up to 2x and 4x faster on
a number of AVX2 and AVX512 microbenchmarks.
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D87116
More information about the All-commits
mailing list