Update Tensorflow to prepare for changing the default value of `preloadDialectsInContext`
This makes tf-opt more strict on the dialect dependencies, and immediately reduces the number of dialects loaded. The canonicalization of TensorFlow graphs showed on the profile that Linalg pattern were dominated the time, which is unexpected since Linalg is not even intended to be used there. PiperOrigin-RevId: 364087027
This commit is contained in:
parent
431be0e9b2
commit
98debb127d
|
@ -34,6 +34,6 @@ int main(int argc, char **argv) {
|
|||
registry.insert<mlir::lmhlo::LmhloDialect>();
|
||||
registry.insert<mlir::lmhlo_gpu::LmhloGpuDialect>();
|
||||
|
||||
return failed(
|
||||
mlir::MlirOptMain(argc, argv, "MLIR HLO pass driver\n", registry));
|
||||
return failed(mlir::MlirOptMain(argc, argv, "MLIR HLO pass driver\n",
|
||||
registry, /*preloadDialectsInContext=*/true));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue