[all-commits] [llvm/llvm-project] 68ce63: [mlir][Transforms][NFC] Dialect Conversion: Replac...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Apr 5 06:20:46 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68ce637872a2e1a1dedbb9caa6eacf15ec5c7b99
https://github.com/llvm/llvm-project/commit/68ce637872a2e1a1dedbb9caa6eacf15ec5c7b99
Author: Matthias Springer <me at m-sp.org>
Date: 2025-04-05 (Sat, 05 Apr 2025)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Dialect Conversion: Replace after legalizing constants (#134384)
When folding an op during a conversion, first try to legalize all
generated constants, then replace the original operation. This is
slightly more efficient because fewer rewrites must be rolled back in
case a generated constant could not be legalized.
Note: This is in preparation of the One-Shot Dialect Conversion
refactoring.
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