[all-commits] [llvm/llvm-project] 1bf3fd: [mlir] Use unique_function in AbstractOperation fi...
Fehr Mathieu via All-commits
all-commits at lists.llvm.org
Tue May 25 11:41:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1bf3fd9bb55a8e9c8a2f6e446e956951d1715cf7
https://github.com/llvm/llvm-project/commit/1bf3fd9bb55a8e9c8a2f6e446e956951d1715cf7
Author: Mathieu Fehr <mathieu.fehr at gmail.com>
Date: 2021-05-25 (Tue, 25 May 2021)
Changed paths:
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/IR/OperationSupport.h
M mlir/lib/IR/MLIRContext.cpp
M mlir/lib/Parser/Parser.cpp
Log Message:
-----------
[mlir] Use unique_function in AbstractOperation fields
Currently, AbstractOperation fields are function pointers.
Modifying them to unique_function allow them to contain
runtime information.
For instance, this allows operations to be defined at runtime.
Differential Revision: https://reviews.llvm.org/D103031
More information about the All-commits
mailing list