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

lorenzo chelini via All-commits all-commits at lists.llvm.org
Mon Sep 26 09:09:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27224fe7272a791bcc9f28c997ce322f7d3856cd
      https://github.com/llvm/llvm-project/commit/27224fe7272a791bcc9f28c997ce322f7d3856cd
  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/CMakeLists.txt
    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