[all-commits] [llvm/llvm-project] 730ae8: [MLIR] Expose `getAsValues` in `StaticValueUtils.h...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Mon Sep 26 00:37:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 730ae80d3e1c47f93f725acb2d37f06fcba06953
      https://github.com/llvm/llvm-project/commit/730ae80d3e1c47f93f725acb2d37f06fcba06953
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
    M mlir/lib/Dialect/Tensor/IR/TensorInferTypeOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp

  Log Message:
  -----------
  [MLIR] Expose `getAsValues` in `StaticValueUtils.h` (NFC)

The utility function should live in `StaticValueUtils.h` as it provides
a convenient way to convert a vector of OpFoldResults into a vector of
Values.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list