[all-commits] [llvm/llvm-project] a8c1d9: Add a clear() method on the PassManager (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sun Oct 24 21:39:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8c1d9d63e121f16d49b3f80c76f695dfcbcc142
      https://github.com/llvm/llvm-project/commit/a8c1d9d63e121f16d49b3f80c76f695dfcbcc142
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/lib/Pass/Pass.cpp
    M mlir/unittests/Pass/PassManagerTest.cpp

  Log Message:
  -----------
  Add a clear() method on the PassManager (NFC)

This allows to clear an OpPassManager and populated it again with a new
pipeline, while preserving all the other options (including instrumentations).

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




More information about the All-commits mailing list