[all-commits] [llvm/llvm-project] fa51c5: [mlir] Resolve TODO and use the pass argument inst...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Jun 2 12:18:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa51c5af5d5de25a7824a939e90734ae5ca5448d
      https://github.com/llvm/llvm-project/commit/fa51c5af5d5de25a7824a939e90734ae5ca5448d
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-06-02 (Wed, 02 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Pass/Pass.h
    M mlir/include/mlir/Pass/PassRegistry.h
    M mlir/lib/Pass/PassRegistry.cpp
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir] Resolve TODO and use the pass argument instead of the TypeID for registration

This simplifies various pieces of code that interact with the pass registry, e.g. this removes the need to register passes to get accurate pass pipelines descriptions when generating crash reproducers.

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




More information about the All-commits mailing list