[all-commits] [llvm/llvm-project] c458ec: MLIR, LLVM: Add an IR utility to perform proper sl...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Aug 14 08:30:21 PDT 2024


  Branch: refs/heads/users/dinistro/mlir-ir-slicing-utility
  Home:   https://github.com/llvm/llvm-project
  Commit: c458ec8ef8d5e51e084ed82647bc22b0efa47f67
      https://github.com/llvm/llvm-project/commit/c458ec8ef8d5e51e084ed82647bc22b0efa47f67
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    A mlir/include/mlir/IR/SliceSupport.h
    M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
    M mlir/lib/IR/CMakeLists.txt
    A mlir/lib/IR/SliceSupport.cpp

  Log Message:
  -----------
  MLIR, LLVM: Add an IR utility to perform proper slicing

This commit introduces a backwards slicing utility that is both
`RegionBranchOpInterface` and `BranchOpInterface` aware. This is a first
step in replacing the currently broken slicing utilities that cannot be
used for structured control flow.

Note that the utility is currently placed in the IR library, because
LLVM's inlining uses it and is part of the LLVMIR library. There was
originally a substantial push back on moving the inliner interface out
of said library.


  Commit: 8433b18beaa563e230edf510966328850b8af48b
      https://github.com/llvm/llvm-project/commit/8433b18beaa563e230edf510966328850b8af48b
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M mlir/include/mlir/IR/SliceSupport.h
    M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
    M mlir/lib/IR/SliceSupport.cpp

  Log Message:
  -----------
  turn into a general slice walk


  Commit: 6e19a0db7409a8f2a37a615e5379ab51f4a08da5
      https://github.com/llvm/llvm-project/commit/6e19a0db7409a8f2a37a615e5379ab51f4a08da5
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir

  Log Message:
  -----------
  add llvm region inlining test


  Commit: 8dbfe3c37528eca28373ab700af04e7169141995
      https://github.com/llvm/llvm-project/commit/8dbfe3c37528eca28373ab700af04e7169141995
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    R mlir/include/mlir/IR/SliceSupport.h
    A mlir/include/mlir/IR/SliceWalk.h
    M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
    M mlir/lib/IR/CMakeLists.txt
    R mlir/lib/IR/SliceSupport.cpp
    A mlir/lib/IR/SliceWalk.cpp

  Log Message:
  -----------
  rename to SliceWalk.*


  Commit: 9269aeec74632cbe48b96eb247b5c31c643e177f
      https://github.com/llvm/llvm-project/commit/9269aeec74632cbe48b96eb247b5c31c643e177f
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M mlir/include/mlir/IR/SliceWalk.h
    M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
    M mlir/lib/IR/SliceWalk.cpp

  Log Message:
  -----------
  address review comments


  Commit: af86f42084d0d62c03acf0bf92a3f28fc2321afa
      https://github.com/llvm/llvm-project/commit/af86f42084d0d62c03acf0bf92a3f28fc2321afa
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    A mlir/include/mlir/Analysis/SliceWalk.h
    R mlir/include/mlir/IR/SliceWalk.h
    M mlir/lib/Analysis/CMakeLists.txt
    A mlir/lib/Analysis/SliceWalk.cpp
    M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
    M mlir/lib/IR/CMakeLists.txt
    R mlir/lib/IR/SliceWalk.cpp

  Log Message:
  -----------
  move to analysis directory


Compare: https://github.com/llvm/llvm-project/compare/7521cd1b6ab1...af86f42084d0

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