[all-commits] [llvm/llvm-project] 782476: [mlir][Pass] Add a new `Pass::getArgument` hook
River Riddle via All-commits
all-commits at lists.llvm.org
Fri Apr 10 22:53:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7824768b2e784b81ea988b86ae944edf6aeb0828
https://github.com/llvm/llvm-project/commit/7824768b2e784b81ea988b86ae944edf6aeb0828
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-04-10 (Fri, 10 Apr 2020)
Changed paths:
M mlir/include/mlir/Pass/Pass.h
M mlir/lib/Pass/Pass.cpp
M mlir/tools/mlir-tblgen/PassGen.cpp
Log Message:
-----------
[mlir][Pass] Add a new `Pass::getArgument` hook
Summary: This hook allows for passes to specify the command line argument without the need for registration. More concretely this will allow for generating pass crash reproducers without needing to have the passes registered. This should remove the need for production tools to register passes, leaving that solely to development tools like mlir-opt.
Differential Revision: https://reviews.llvm.org/D77907
More information about the All-commits
mailing list