[all-commits] [llvm/llvm-project] 3873a3: [mlir][Transforms][NFC] Turn op creation into `IRR...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Feb 14 08:45:18 PST 2024
Branch: refs/heads/users/matthias_springer/op_creation
Home: https://github.com/llvm/llvm-project
Commit: 3873a3e96d0582c0ecf24335dad01560b61e8d90
https://github.com/llvm/llvm-project/commit/3873a3e96d0582c0ecf24335dad01560b61e8d90
Author: Matthias Springer <springerm at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Turn op creation into `IRRewrite`
This commit is a refactoring of the dialect conversion. The dialect conversion maintains a list of "IR rewrites" that can be commited (upon success) or rolled back (upon failure).
Until now, the dialect conversion kept track of "op creation" in separate internal data structures. This commit turns "op creation" into an `IRRewrite` that can be committed and rolled back just like any other rewrite. This commit simplifies the internal state of the dialect conversion.
More information about the All-commits
mailing list