[all-commits] [llvm/llvm-project] c0b6bc: Decouple OpPassManager from the the MLIRContext (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Sep 2 23:02:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c0b6bc070e78cbd20bc4351704f52d85192e8804
      https://github.com/llvm/llvm-project/commit/c0b6bc070e78cbd20bc4351704f52d85192e8804
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-09-03 (Thu, 03 Sep 2020)

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

  Log Message:
  -----------
  Decouple OpPassManager from the the MLIRContext (NFC)

This is allowing to build an OpPassManager from a StringRef instead of an
Identifier, which enables building pipelines without an MLIRContext.
An identifier is still cached on-demand on the OpPassManager for efficiency
during the IR traversal.




More information about the All-commits mailing list