[all-commits] [llvm/llvm-project] df067f: [mlir][IR][NFC] Move `walk` definitions to header ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Mar 6 00:22:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df067f13de569979b0d8ad8e9fc91ca06630e58f
https://github.com/llvm/llvm-project/commit/df067f13de569979b0d8ad8e9fc91ca06630e58f
Author: Matthias Springer <me at m-sp.org>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M mlir/include/mlir/IR/Visitors.h
M mlir/lib/IR/Visitors.cpp
M mlir/test/IR/visitors.mlir
M mlir/test/lib/IR/TestVisitors.cpp
Log Message:
-----------
[mlir][IR][NFC] Move `walk` definitions to header file
This allows users to provide custom `Iterator` templates. A new iterator will be added in a subsequent change.
Also rename `makeRange` to `makeIterable` and add a test case for the reverse iterator.
Differential Revision: https://reviews.llvm.org/D144887
More information about the All-commits
mailing list