[all-commits] [llvm/llvm-project] c66f2d: [mlir-query] Add function extraction feature to ml...

Devajith via All-commits all-commits at lists.llvm.org
Thu Feb 29 07:47:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c66f2d0c4a46ba66fb98a2cab4e63ad90888a261
      https://github.com/llvm/llvm-project/commit/c66f2d0c4a46ba66fb98a2cab4e63ad90888a261
  Author: Devajith Valaparambil Sreeramaswamy <devajithvs at gmail.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Query/Matcher/ErrorBuilder.h
    M mlir/include/mlir/Query/Matcher/MatchersInternal.h
    M mlir/lib/Query/Matcher/Diagnostics.cpp
    M mlir/lib/Query/Matcher/Parser.cpp
    M mlir/lib/Query/Matcher/Parser.h
    M mlir/lib/Query/Matcher/RegistryManager.cpp
    M mlir/lib/Query/Matcher/RegistryManager.h
    M mlir/lib/Query/Query.cpp
    A mlir/test/mlir-query/function-extraction.mlir

  Log Message:
  -----------
  [mlir-query] Add function extraction feature to mlir-query

This enables specifying the extract modifier to extract all matches into
a function. This currently does this very directly by converting all
operands to function arguments (ones due to results of other matched ops
are dropped) and all results as return values.

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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list