Add regression test that demonstrates slow compile time.
PiperOrigin-RevId: 425357439
Change-Id: I05843999b78a1f765f34fef0e62dc5b6168f9e05
diff --git a/tensorflow/compiler/mlir/tfrt/python_tests/regression_tests/broadcasting_24.disabled.mlir b/tensorflow/compiler/mlir/tfrt/python_tests/regression_tests/broadcasting_24.disabled.mlir
new file mode 100644
index 0000000..0522467
--- /dev/null
+++ b/tensorflow/compiler/mlir/tfrt/python_tests/regression_tests/broadcasting_24.disabled.mlir
@@ -0,0 +1,19 @@
+builtin.func @test(%V__0 : tensor<?x?x?x?xi1> { python_test_attrs.static_type = tensor<62x1x77x13xi1> }, %V__1 : tensor<?x?x?x?xf32> { python_test_attrs.static_type = tensor<62x1x77x13xf32> }) -> tensor<?x?x?xf32> {
+ %0 = "tf.OnesLike"(%V__0) : (tensor<?x?x?x?xi1>) -> tensor<?x?x?x?xi1>
+ %dims1 = "tf.Const"() { value = dense<[1]> : tensor<1xi32> } : () -> tensor<1xi32>
+ %1 = "tf.Min"(%V__1, %dims1) { keep_dims = true } : (tensor<?x?x?x?xf32>, tensor<1xi32>) -> tensor<?x?x?x?xf32>
+ %2 = "tf.Select"(%0, %1, %V__1) : (tensor<?x?x?x?xi1>, tensor<?x?x?x?xf32>, tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32>
+ %3 = "tf.Rint"(%2) : (tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32>
+ %4 = "tf.Round"(%3) : (tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32>
+ %dims5 = "tf.Const"() { value = dense<[1, 2]> : tensor<2xi32> } : () -> tensor<2xi32>
+ %5 = "tf.Min"(%4, %dims5) { keep_dims = true } : (tensor<?x?x?x?xf32>, tensor<2xi32>) -> tensor<?x?x?x?xf32>
+ %dims6 = "tf.Const"() { value = dense<[3]> : tensor<1xi32> } : () -> tensor<1xi32>
+ %6 = "tf.Sum"(%5, %dims6) { keep_dims = true } : (tensor<?x?x?x?xf32>, tensor<1xi32>) -> tensor<?x?x?x?xf32>
+ %dims7 = "tf.Const"() { value = dense<[0, 2]> : tensor<2xi32> } : () -> tensor<2xi32>
+ %7 = "tf.Mean"(%6, %dims7) { keep_dims = true } : (tensor<?x?x?x?xf32>, tensor<2xi32>) -> tensor<?x?x?x?xf32>
+ %8 = "tf.Atanh"(%7) : (tensor<?x?x?x?xf32>) -> tensor<?x?x?x?xf32>
+ %dims9 = "tf.Const"() { value = dense<[3]> : tensor<1xi32> } : () -> tensor<1xi32>
+ %9 = "tf.Mean"(%8, %dims9) { keep_dims = false } : (tensor<?x?x?x?xf32>, tensor<1xi32>) -> tensor<?x?x?xf32>
+ %10 = "tf.Sign"(%9) : (tensor<?x?x?xf32>) -> tensor<?x?x?xf32>
+ return %10 : tensor<?x?x?xf32>
+}
\ No newline at end of file