[all-commits] [llvm/llvm-project] 864adf: [mlir] Allow empty position in vector.insert and v...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed May 12 20:55:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 864adf399e58a6bfd823136fc2cbcfe9dff5b4a8
      https://github.com/llvm/llvm-project/commit/864adf399e58a6bfd823136fc2cbcfe9dff5b4a8
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/VectorOps.td
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp
    M mlir/test/Dialect/Vector/invalid.mlir
    M mlir/test/Dialect/Vector/ops.mlir

  Log Message:
  -----------
  [mlir] Allow empty position in vector.insert and vector.extract

Such ops are no-ops and are folded to their respective `source`/`vector` operand.

Differential Revision: https://reviews.llvm.org/D101879




More information about the All-commits mailing list