[all-commits] [llvm/llvm-project] 0e760a: Add hook for dialect specializing processing block...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Wed Jun 16 12:53:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e760a0870e61b0a150bdea24532ad054774ade4
      https://github.com/llvm/llvm-project/commit/0e760a0870e61b0a150bdea24532ad054774ade4
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Transforms/InliningUtils.h
    M mlir/lib/Transforms/Utils/InliningUtils.cpp
    M mlir/test/Transforms/inlining.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp

  Log Message:
  -----------
  Add hook for dialect specializing processing blocks post inlining calls

This allows for dialects to do different post-processing depending on operations with the inliner (my use case requires different attribute propagation rules depending on call op). This hook runs before the regular processInlinedBlocks method.

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




More information about the All-commits mailing list