[all-commits] [llvm/llvm-project] 9ca70d: [mlir][Transforms][NFC] Turn op creation into `IRR...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Feb 23 01:03:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ca70d72f4f217ff4f6ab337ad4a8e6666860791
https://github.com/llvm/llvm-project/commit/9ca70d72f4f217ff4f6ab337ad4a8e6666860791
Author: Matthias Springer <me at m-sp.org>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Turn op creation into `IRRewrite` (#81759)
This commit is a refactoring of the dialect conversion. The dialect
conversion maintains a list of "IR rewrites" that can be committed (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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list