[all-commits] [llvm/llvm-project] 33f76e: [mlir][Pass] Allow duplicate pass registration.

River Riddle via All-commits all-commits at lists.llvm.org
Fri Apr 10 14:52:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 33f76e2381b48b58c60e689a1ca2acc59fd6dfa2
      https://github.com/llvm/llvm-project/commit/33f76e2381b48b58c60e689a1ca2acc59fd6dfa2
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M mlir/lib/Pass/PassRegistry.cpp

  Log Message:
  -----------
  [mlir][Pass] Allow duplicate pass registration.

Summary: With users registering their own dependencies, duplicate pass registration becomes more and more common. This revision relaxes that pass registration be unique. This is safe to assume given that we key on the passID, which is guaranteed to be unique per pass class.

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




More information about the All-commits mailing list