[mlir][vector][nfc] Rename index optimizations option
authorJavier Setoain <javier.setoain@gmail.com>
Thu, 24 Mar 2022 16:07:19 +0000 (16:07 +0000)
committerJavier Setoain <javier.setoain@gmail.com>
Tue, 29 Mar 2022 10:33:22 +0000 (11:33 +0100)
commit7bc8ad5109eb955b8da9b279955bae098e1bd669
tree612529271fc564292bbc97430c939edd6fd578a1
parentf5c666742f7bb4ae79ec79c8acf61dced4d37cc9
[mlir][vector][nfc] Rename index optimizations option

We are using "enable-index-optimizations" and "indexOptimizations" as
names for an optimization that consists of using i32 for indices within
a vector. For instance, when building a vector comparison for mask
generation. The name is confusing and suggests a scope beyond these
vector indices.  This change makes the function of the option explicit
in its name.

Differential Revision: https://reviews.llvm.org/D122415
mlir/include/mlir/Conversion/Passes.td
mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir