[all-commits] [llvm/llvm-project] 9560f0: [mlir] Add `enableSplitting` and `insertMarkerInOu...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Jun 28 15:43:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9560f021410f6ecbf764129a59731b7f9777a882
      https://github.com/llvm/llvm-project/commit/9560f021410f6ecbf764129a59731b7f9777a882
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-06-28 (Tue, 28 Jun 2022)

  Changed paths:
    M mlir/include/mlir/Support/ToolUtilities.h
    M mlir/lib/Support/ToolUtilities.cpp
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    M mlir/tools/mlir-pdll/mlir-pdll.cpp

  Log Message:
  -----------
  [mlir] Add `enableSplitting` and `insertMarkerInOutput` options to `splitAndProcessBuffer`

`enableSplitting` simply enables/disables whether we should split
or use the full buffer. `insertMarkerInOutput` toggles if split markers
should be inserted in between prcessed output chunks.

These options allow for merging the duplicate code paths we have
when splitting is optional.

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




More information about the All-commits mailing list