[all-commits] [llvm/llvm-project] 3c42c0: [mlir] [VectorOps] Enable 32-bit index optimizations
Aart Bik via All-commits
all-commits at lists.llvm.org
Thu Sep 10 00:26:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3c42c0dcf631ad6b90e718df895c05f79718659f
https://github.com/llvm/llvm-project/commit/3c42c0dcf631ad6b90e718df895c05f79718659f
Author: aartbik <ajcbik at google.com>
Date: 2020-09-10 (Thu, 10 Sep 2020)
Changed paths:
M mlir/include/mlir/Conversion/Passes.td
M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Log Message:
-----------
[mlir] [VectorOps] Enable 32-bit index optimizations
Rationale:
After some discussion we decided that it is safe to assume 32-bit
indices for all subscripting in the vector dialect (it is unlikely
the dialect will be used; or even work; for such long vectors).
So rather than detecting specific situations that can exploit
32-bit indices with higher parallel SIMD, we just optimize it
by default, and let users that don't want it opt-out.
Reviewed By: nicolasvasilache, bkramer
Differential Revision: https://reviews.llvm.org/D87404
More information about the All-commits
mailing list