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.
133 KiB
133 KiB