[all-commits] [llvm/llvm-project] 213791: [mlir] Remove some code duplication between `Build...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jul 20 01:27:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2137915137acc3cb6f244663f7930a83d1f20b7f
      https://github.com/llvm/llvm-project/commit/2137915137acc3cb6f244663f7930a83d1f20b7f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M mlir/include/mlir/IR/Operation.h
    M mlir/lib/IR/Builders.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/Transforms/Utils/FoldUtils.cpp

  Log Message:
  -----------
  [mlir] Remove some code duplication between `Builders.cpp` and `FoldUtils.cpp`

Also update the documentation of `Operation::fold`, which did not take into account in-place foldings.

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




More information about the All-commits mailing list