[all-commits] [llvm/llvm-project] 7bc8ad: [mlir][vector][nfc] Rename index optimizations option

jsetoain via All-commits all-commits at lists.llvm.org
Tue Mar 29 03:35:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bc8ad5109eb955b8da9b279955bae098e1bd669
      https://github.com/llvm/llvm-project/commit/7bc8ad5109eb955b8da9b279955bae098e1bd669
  Author: Javier Setoain <javier.setoain at gmail.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir

  Log Message:
  -----------
  [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




More information about the All-commits mailing list