diff --git a/tensorflow/compiler/aot/tests/test_error_message.lit.pbtxt b/tensorflow/compiler/aot/tests/test_error_message.lit.pbtxt index 5b05eb4b33d..eb824ff8238 100644 --- a/tensorflow/compiler/aot/tests/test_error_message.lit.pbtxt +++ b/tensorflow/compiler/aot/tests/test_error_message.lit.pbtxt @@ -1,5 +1,5 @@ -# RUN: not tfcompile --graph=%s --config=%s.config.pbtxt --mlir_components=Bridge --debug_info=%s.debug.pbtxt 2>&1 | FileCheck %s -dump-input-on-failure -# RUN: not tfcompile --graph=%s --config=%s.config.pbtxt --mlir_components=None 2>&1 | FileCheck -check-prefix=OLD %s -dump-input-on-failure +# RUN: not tfcompile --graph=%s --config=%s.config.pbtxt --mlir_components=Bridge --debug_info=%s.debug.pbtxt 2>&1 | FileCheck %s +# RUN: not tfcompile --graph=%s --config=%s.config.pbtxt --mlir_components=None 2>&1 | FileCheck -check-prefix=OLD %s # Checks the error message produced by tfcompile with mlir_component # Checks that source debug information is used in the output error message and diff --git a/tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt b/tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt index 3e03de09d47..adfcd93b4bc 100644 --- a/tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt +++ b/tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf_tfl_translate -tf-input-arrays=input -tf-input-shapes=1,1,1,256 -tf-input-data-types=DT_FLOAT -tf-inference-type=DT_QINT8 -tf-input-min-values='-33.614346' -tf-input-max-values='21.54917' -tf-output-arrays=output %s -o - --output-mlir 2>&1 | FileCheck --check-prefix=MLIR %s --dump-input-on-failure +# RUN: tf_tfl_translate -tf-input-arrays=input -tf-input-shapes=1,1,1,256 -tf-input-data-types=DT_FLOAT -tf-inference-type=DT_QINT8 -tf-input-min-values='-33.614346' -tf-input-max-values='21.54917' -tf-output-arrays=output %s -o - --output-mlir 2>&1 | FileCheck --check-prefix=MLIR %s # RUN: tf_tfl_translate -tf-input-arrays=input -tf-input-shapes=1,1,1,256 -tf-input-data-types=DT_FLOAT -tf-inference-type=DT_QINT8 -tf-input-min-values='-33.614346' -tf-input-max-values='21.54917' -tf-output-arrays=output %s -o - | flatbuffer_to_string - | FileCheck %s node { diff --git a/tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt b/tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt index 95d483f4e91..140571ffaf2 100644 --- a/tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt +++ b/tensorflow/compiler/mlir/lite/tests/end2end/graph_with_placeholder_with_default.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf_tfl_translate -tf-input-arrays=unranked -tf-input-shapes=1,8,8,2 -tf-input-data-types=DT_INT32 -tf-output-arrays=unranked,static,static_10 %s -o - --output-mlir | FileCheck %s --dump-input-on-failure +# RUN: tf_tfl_translate -tf-input-arrays=unranked -tf-input-shapes=1,8,8,2 -tf-input-data-types=DT_INT32 -tf-output-arrays=unranked,static,static_10 %s -o - --output-mlir | FileCheck %s node { name: "tf.Const" diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir index 47a65ec2fea..0e0b21f8fe1 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s func @main(%arg0: tensor<32x4x4x128xf32>, %arg1: tensor<1x32x42x128xf32>, %arg2: tensor<4xi32>) -> tensor<1x64x84x32xf32> { %0 = "tfl.custom"(%arg0, %arg1, %arg2) {custom_code = "Convolution2DTransposeBias", custom_option = opaque<"tfl", "0x010000000200000002000000"> : tensor<12xi8>} : (tensor<32x4x4x128xf32>, tensor<1x32x42x128xf32>, tensor<4xi32>) -> tensor<1x64x84x32xf32> diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir index 762fab20a27..bb05b0aa162 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --use-external-constant - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --use-external-constant - -o - | FileCheck %s // Ensure that `tfl.external_const` is imported when the flag `-use-external-constant` is enabled. func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> { diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json index f2d275f7ee1..a61c1c6f168 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json @@ -1,4 +1,4 @@ -// RUN: json_to_flatbuffer %p/test_schema.fbs %s | flatbuffer_translate --tflite-flatbuffer-to-mlir -o - | FileCheck --dump-input-on-failure %s +// RUN: json_to_flatbuffer %p/test_schema.fbs %s | flatbuffer_translate --tflite-flatbuffer-to-mlir -o - | FileCheck %s // CHECK: %cst = constant unit // CHECK: %[[RES0:.*]] = "tfl.conv_2d"(%arg0, %arg1, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 0 : i32, stride_w = 0 : i32} : (tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, none) -> tensor<256x32x32x16xf32> diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_arrays.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_arrays.mlir index b9b62cdc220..4581caf9e21 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_arrays.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_arrays.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -input-arrays=squared_difference --experimental-prune-unreachable-nodes-unconditionally --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -input-arrays=squared_difference --experimental-prune-unreachable-nodes-unconditionally --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Tests -input-arrays flag. func @main(%arg0: tensor<4xf32>) -> tensor<4xf32> { diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir index d793ea2d62f..faf96878087 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Ensure lstm roundtrip exactly func @main(%arg0: tensor<1x4xf32>, %arg1: tensor<4x4xf32>, %arg2: tensor<4x4xf32>, %arg3: tensor<4x4xf32>, %arg4: tensor<4x4xf32>, %arg5: tensor<4x4xf32>, %arg6: tensor<4x4xf32>, %arg7: tensor<4x4xf32>, %arg8: tensor<4x4xf32>, %arg9: tensor<4xf32>, %arg10: tensor<4xf32>, %arg11: tensor<4xf32>, %arg12: tensor<1x4xf32>, %arg13: tensor<4xf32>, %arg14: tensor<4xf32>, %arg15: tensor<4xf32>, %arg16: tensor<4x4xf32>, %arg17: tensor<4xf32>, %arg18: tensor<4xf32>, %arg19: tensor<4xf32>, %arg20: tensor<4xf32>, %arg21: tensor<4xf32>) -> tensor<1x4xf32> { diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir index 3b1e22e5e65..e0de33e66e0 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Confirm a wide array of attribute survives the round-trip func @main(tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> { diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/pruning_function_input_as_output.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/pruning_function_input_as_output.mlir index 1540641fbc0..18fac00a46a 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/pruning_function_input_as_output.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/pruning_function_input_as_output.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -output-arrays=mul,div,exp --experimental-prune-unreachable-nodes-unconditionally --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -output-arrays=mul,div,exp --experimental-prune-unreachable-nodes-unconditionally --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // CHECK: (%[[ARG:.*]]: tensor<4xf32>) -> (tensor<4xf32>, tensor<4xf32>, tensor<4xf32>) func @main(%arg0: tensor<4xf32>) -> tensor<4xf32> attributes {tf.entry_function = {inputs = "mul"}} { diff --git a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir index a31e8d4b79f..5b471d69b8e 100644 --- a/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir +++ b/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // This test is to test for unranked function output from input, the output type should be compatible with input type. diff --git a/tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir b/tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir index a7fb5b1666e..e1c81493c2e 100644 --- a/tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir +++ b/tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tfl-lower-static-tensor-list %s | FileCheck %s --dump-input-on-failure +// RUN: tf-opt -tfl-lower-static-tensor-list %s | FileCheck %s // CHECK-LABEL: tensorlistConst func @tensorlistConst(%arg0 : tensor<1xi32>) -> tensor<2x3xi32> { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/basic_lstm.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/basic_lstm.mlir index 47e1ccee3c9..8389045fc57 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/basic_lstm.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/basic_lstm.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<1x384xf32>, tensor<1x96xf32>, tensor<384x480xf32>, tensor<384xf32>, tensor<1x96xf32>) -> tensor<1x96xf32> { // CHECK: { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/custom_op_with_tflite_op.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/custom_op_with_tflite_op.mlir index 320f869ac4c..2d906d6901e 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/custom_op_with_tflite_op.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/custom_op_with_tflite_op.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4xf32>) -> tensor<4xf32> { ^bb0(%arg0: tensor<4xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/depthwise_conv2d_v2.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/depthwise_conv2d_v2.mlir index 627de564931..86f27936946 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/depthwise_conv2d_v2.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/depthwise_conv2d_v2.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<1x224x224x3xf32>) -> tensor<1x112x112x32xf32> { ^bb0(%arg0: tensor<1x224x224x3xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_custom.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_custom.mlir index 23d04c40ec4..1be7db1d69c 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_custom.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_custom.mlir @@ -1,4 +1,4 @@ -// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer %s 2>&1 | FileCheck %s --dump-input-on-failure +// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer %s 2>&1 | FileCheck %s // CHECK: error: 'tf.MyCustomOp' op is neither a custom op nor a flex op // CHECK: error: failed while converting: 'main' diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex.mlir index 1c2e918f61e..e767dc0e686 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex.mlir @@ -1,4 +1,4 @@ -// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer %s 2>&1 | FileCheck %s --dump-input-on-failure +// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer %s 2>&1 | FileCheck %s // CHECK: error: 'tf.Div' op is neither a custom op nor a flex op // CHECK: error: failed while converting: 'main' diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex_enable_builtin.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex_enable_builtin.mlir index 13f8b998fff..c034fa7e462 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex_enable_builtin.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex_enable_builtin.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4xf32>) -> tensor<4xf32> { ^bb0(%arg0: tensor<4xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_exclusively.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_exclusively.mlir index 9c4524586a5..018d99fc74d 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_exclusively.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_exclusively.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops=true -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops=true -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s func @main(%arg0: tensor<3x2xf32>) -> tensor<3x2xf32> { // CHECK: { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir index 4ba9ef75459..4b75d3e8ff4 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> { ^bb0(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_tflite_op.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_tflite_op.mlir index 6f1bafcd7a9..8a9175b5c59 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_tflite_op.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_tflite_op.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4xf32>) -> tensor<4xf32> { ^bb0(%arg0: tensor<4xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected.mlir index 2015d694e7f..bbe4fdb8337 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> { ^bb0(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected_v2.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected_v2.mlir index 44c757d2fa8..0abe720ccba 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected_v2.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fully_connected_v2.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> { ^bb0(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>): diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir index 6ae8ec8f3c7..5985ffaa446 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(%arg0: tensor<1x528x!quant.uniform>, %arg1: tensor<2048x528x!quant.uniform:f32, 0.059801999479532242>>, %arg2: tensor<2048x528x!quant.uniform:f32, 0.031925998628139496>>, %arg3: tensor<2048x528x!quant.uniform:f32, 0.056272000074386597>>, %arg4: tensor<2048x528x!quant.uniform:f32, 0.063763998448848724>>, %arg5: tensor<2048x640x!quant.uniform:f32, 0.013358999975025654>>, %arg6: tensor<2048x640x!quant.uniform:f32, 0.022830000147223473>>, %arg7: tensor<2048x640x!quant.uniform:f32, 0.032276000827550888>>, %arg8: tensor<2048x640x!quant.uniform:f32, 0.035427000373601913>>, %arg9: tensor<2048x!quant.uniform>, %arg10: tensor<2048x!quant.uniform>, %arg11: tensor<2048x!quant.uniform>, %arg12: tensor<2048x!quant.uniform>, %arg13: tensor<640x2048x!quant.uniform:f32, 0.021174000576138496>>, %arg14: tensor<640x!quant.uniform>, %arg15: tensor<2048x!quant.uniform>, %arg16: tensor<2048x!quant.uniform>, %arg17: tensor<2048x!quant.uniform>, %arg18: tensor<2048x!quant.uniform>, %arg19: tensor<1x640x!quant.uniform>, %arg20: tensor<1x2048x!quant.uniform>) -> tensor<1x640x!quant.uniform> { %cst = constant unit diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/metadata.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/metadata.mlir index 8d2f63a8f15..49d71f24d2d 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/metadata.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/metadata.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s module attributes { tfl.metadata = {key1 = "value1", key2 = "value2"} diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/numeric_verify.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/numeric_verify.mlir index f7830acabf7..4f28ad327df 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/numeric_verify.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/numeric_verify.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s // CHECK: { // CHECK-NEXT: version: 3, diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir index f1dc92678ed..7c516ea3eb3 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tf_entry_function.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s module { func @serving_default(%arg0: tensor<3x2xf32>) -> tensor<3x2xf32> attributes {tf.entry_function = {inputs = "serving_default_x", outputs = "outputs"}} { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir index bb9278c0d87..1d3a70f0996 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s --dump-input-on-failure +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s // CHECK: { // CHECK-NEXT: version: 3, diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/transpose_conv_optional.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/transpose_conv_optional.mlir index 621d10d9000..ca335ebd000 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/transpose_conv_optional.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/transpose_conv_optional.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(%arg0: tensor<4xi32>, %arg1: tensor<32x4x4x128xf32>, %arg2: tensor<1x32x42x128xf32>) -> tensor<1x64x84x32xf32> { // CHECK: { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir index d9bba58b7d7..9b0315e1e20 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>, tensor<4x4xf32>) -> tensor<4x4xf32> { // CHECK: { diff --git a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir index f2b99bcd0df..67349b857f7 100644 --- a/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir +++ b/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir @@ -1,4 +1,4 @@ -// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck --dump-input-on-failure %s +// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s func @main(tensor<4 x f32>, tensor<4 x f32>, tensor<4 x f32>, tensor<4 x f32>) -> tensor<4 x f32> { // CHECK: { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir b/tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir index 3b499f404bf..fe41028dda7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -pass-pipeline='func(canonicalize)' | FileCheck %s // CHECK-LABEL: func @tfAssertTrue func @tfAssertTrue(%arg0: tensor<1x1x6x2xf32>) { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir b/tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir index 4bf6b0d2f28..a1e33841177 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-device-cluster-formation | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -tf-device-cluster-formation | FileCheck %s // Simple case, single device cluster. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir b/tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir index 42ed55deeda..132482cab24 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -tf-device-cluster-outlining | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -tf-device-cluster-outlining | FileCheck %s // Tests simple case of a single `tf_device.cluster`. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type.pbtxt index c57529cebb1..6cf9dcff5bc 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type.pbtxt @@ -1,5 +1,5 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x -tf-input-shapes=:1 -tf-output-arrays=p,x -o - | FileCheck %s --check-prefix=NONE --dump-input-on-failure -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x -tf-input-shapes=:1 -tf-input-data-types=DT_INT32,DT_BOOL -tf-output-arrays=p,x -o - | FileCheck %s --dump-input-on-failure +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x -tf-input-shapes=:1 -tf-output-arrays=p,x -o - | FileCheck %s --check-prefix=NONE +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=p,x -tf-input-shapes=:1 -tf-input-data-types=DT_INT32,DT_BOOL -tf-output-arrays=p,x -o - | FileCheck %s # Test the handling of the input data types. In particular, if the data type # for an input graph node is specified via command line options, use it. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt index 9f044c62736..9592536f4b2 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s --dump-input-on-failure +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s node { name: "custom_relu_func_call" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt index aa47f811ab0..e305ddb5a00 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s --dump-input-on-failure +# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - | FileCheck %s # Verify that the data_format attributes is pulled from the default value in the # registry when not present in the GraphDef diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tensor-list.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tensor-list.pbtxt index 88d9006cf26..db23c5ea961 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tensor-list.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tensor-list.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir %s -o - | FileCheck %s --dump-input-on-failure +# RUN: tf-mlir-translate -graphdef-to-mlir %s -o - | FileCheck %s node { name: "TensorListReserve/num_elements" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt index 1e640baa507..8f0f35bc421 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt +++ b/tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tf-data-pipeline.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf-mlir-translate -graphdef-to-mlir %s -tf-output-arrays=BatchDatasetV2 -o - | FileCheck %s --dump-input-on-failure +# RUN: tf-mlir-translate -graphdef-to-mlir %s -tf-output-arrays=BatchDatasetV2 -o - | FileCheck %s # CHECK-LABEL: func @main() -> tensor<*x!tf.variant> # CHECK: %[[tensor_slice:.*]], %[[tensor_slice_control:.*]] = tf_executor.island wraps "tf.TensorSliceDataset" diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir index d7dc1af65fb..1bd5f95d0b7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_shape_attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s // Check that attributes that define derived shapes are exported. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir index 10e46ca4c0f..6b12e0e63b6 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s // CHECK: op: "Split" // CHECK: attr { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args.mlir index 44824ea1424..8e7b26c97c1 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main() -> tensor<*x!tf.resource> attributes {tf.entry_function = {inputs = "", outputs = "func_call"}} { %0 = tf_executor.graph { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/legalized_name.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/legalized_name.mlir index a4bb992263b..1029c713953 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/legalized_name.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/legalized_name.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main() { tf_executor.graph { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir index f14115460f2..af3275cdc3b 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main(%arg0: tensor<10xi32>) -> tensor<10xi32> attributes {tf.entry_function = {inputs = "input0", outputs = "output0"}} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir index 1a2c1446c27..891764fc6c1 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 175 : i32}} { func @main(%arg0: tensor<32x!tf.string>) -> (tensor) attributes {tf.entry_function = {inputs = "input0", outputs = "ParseExample/ParseExampleV2"}} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir index 46ed409735a..6b9de126592 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32> attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir index cf319f41010..f536aa616e3 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main() { tf_executor.graph { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir index db9e7d4c3e5..41fbd3929af 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir @@ -1,4 +1,4 @@ -// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s --dump-input-on-failure +// RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32> attributes {tf.entry_function = {inputs = "input0,input1", outputs = "Add"}} { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/op_fusion.mlir b/tensorflow/compiler/mlir/tensorflow/tests/op_fusion.mlir index 77ce19da8a4..a09d893bbd7 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/op_fusion.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/op_fusion.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-op-fusion | FileCheck %s --dump-input-on-failure +// RUN: tf-opt %s -tf-op-fusion | FileCheck %s //===----------------------------------------------------------------------===// // Conv2D + BiasAdd + fusions. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir b/tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir index 59c93a66d12..40cfc03b8e6 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-promote-resources-to-args | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-promote-resources-to-args | FileCheck %s // One resource, one read. The initial value of the resource is read. // CHECK-LABEL: func @main(%arg0: tensor, %arg1: tensor {tf.resource_name = "x"}) -> tensor<2xf32> diff --git a/tensorflow/compiler/mlir/tensorflow/tests/promote_var_handles_to_args.mlir b/tensorflow/compiler/mlir/tensorflow/tests/promote_var_handles_to_args.mlir index 8b8a070cfab..f2c045a1f3f 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/promote_var_handles_to_args.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/promote_var_handles_to_args.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-promote-var-handles-to-args | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-promote-var-handles-to-args | FileCheck %s // Tests main function with multiple blocks. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir b/tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir index 2353dc5a7a8..24964284c28 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-resource-op-lifting | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-resource-op-lifting | FileCheck %s // Tests that resource load operations are hoisted. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir b/tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir index e4e6304ef3b..f5bfb3e3b84 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/rewrite_tpu_embedding_ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-rewrite-tpu-embedding-ops %s | FileCheck %s --dump-input-on-failure +// RUN: tf-opt -tf-rewrite-tpu-embedding-ops %s | FileCheck %s // CHECK-LABEL: func @recv_tpu_embedding_activations func @recv_tpu_embedding_activations() -> (tensor<512x256xf32>) { diff --git a/tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir b/tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir index 26801e57698..f0ca3d2b7f8 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-stack-ops-decomposition | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-stack-ops-decomposition | FileCheck %s // Tests simple scalar stack operations without control flow. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir index 18b250c92a4..b65e88c589a 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tensor-array-ops-decomposition | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tensor-array-ops-decomposition | FileCheck %s // Test read and write on a tensor list. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir index 7e9b85ffc04..49365db57f6 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tensor-list-ops-decomposition | FileCheck %s -dump-input-on-failure +// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tensor-list-ops-decomposition | FileCheck %s // Test push and pop on a tensor list which is initially empty. diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir index 39f34caf259..69b2c9bb928 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_map_and_batch.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-standard-pipeline -tf-data-optimization %s -o %t && FileCheck %s --dump-input-on-failure < %t +// RUN: tf-opt -tf-standard-pipeline -tf-data-optimization %s -o %t && FileCheck %s < %t module { // CHECK-LABEL: fuse_map_and_batch diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir index 70c5c220fe1..b727b0d04e1 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_data_fuse_pmap_and_batch.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -tf-standard-pipeline -tf-data-optimization %s -o %t && FileCheck %s --dump-input-on-failure < %t +// RUN: tf-opt -tf-standard-pipeline -tf-data-optimization %s -o %t && FileCheck %s < %t module { // CHECK-LABEL: fuse_pmap_and_batch diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py index 8778f0048da..1eb78617368 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py +++ b/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py @@ -13,7 +13,7 @@ # limitations under the License. # ============================================================================== -# RUN: %p/multi_arguments_results_v1 | FileCheck -dump-input-on-failure %s +# RUN: %p/multi_arguments_results_v1 | FileCheck %s # pylint: disable=missing-docstring,line-too-long from __future__ import absolute_import diff --git a/tensorflow/compiler/mlir/tensorflow/tests/tpu_outside_compilation_cluster.mlir b/tensorflow/compiler/mlir/tensorflow/tests/tpu_outside_compilation_cluster.mlir index 68c0217b73d..1394bd22dc8 100644 --- a/tensorflow/compiler/mlir/tensorflow/tests/tpu_outside_compilation_cluster.mlir +++ b/tensorflow/compiler/mlir/tensorflow/tests/tpu_outside_compilation_cluster.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -tf-tpu-outside-compilation-cluster | FileCheck %s --dump-input-on-failure +// RUN: tf-opt %s -tf-tpu-outside-compilation-cluster | FileCheck %s // CHECK-LABEL: func @one_cluster_no_dependencies func @one_cluster_no_dependencies() { diff --git a/tensorflow/compiler/mlir/tfjs/tests/e2e/add.pbtxt b/tensorflow/compiler/mlir/tfjs/tests/e2e/add.pbtxt index f6a324fdc13..d674353647d 100644 --- a/tensorflow/compiler/mlir/tfjs/tests/e2e/add.pbtxt +++ b/tensorflow/compiler/mlir/tfjs/tests/e2e/add.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf_tfjs_translate %s -tf-input-arrays=input0,input1 -tf-input-data-types=DT_INT32,DT_INT32 -tf-input-shapes=10:10 -tf-output-arrays=Mul -o - | FileCheck %s --dump-input-on-failure +# RUN: tf_tfjs_translate %s -tf-input-arrays=input0,input1 -tf-input-data-types=DT_INT32,DT_INT32 -tf-input-shapes=10:10 -tf-output-arrays=Mul -o - | FileCheck %s # Add two tensor<4xi32> inputs and return the result node { diff --git a/tensorflow/compiler/mlir/tfjs/tests/e2e/prelu.pbtxt b/tensorflow/compiler/mlir/tfjs/tests/e2e/prelu.pbtxt index 810db71f5e0..c888097af48 100644 --- a/tensorflow/compiler/mlir/tfjs/tests/e2e/prelu.pbtxt +++ b/tensorflow/compiler/mlir/tfjs/tests/e2e/prelu.pbtxt @@ -1,4 +1,4 @@ -# RUN: tf_tfjs_translate %s -tf-input-arrays=input0 -tf-input-data-types=DT_FLOAT -tf-input-shapes=10 -tf-output-arrays=Add -tf-custom-opdefs="name: 'Prelu' input_arg: { name: 'x' type: DT_FLOAT } input_arg: { name: 'alpha' type: DT_FLOAT } output_arg: { name: 'c' type: DT_FLOAT }" -o - | FileCheck %s --dump-input-on-failure +# RUN: tf_tfjs_translate %s -tf-input-arrays=input0 -tf-input-data-types=DT_FLOAT -tf-input-shapes=10 -tf-output-arrays=Add -tf-custom-opdefs="name: 'Prelu' input_arg: { name: 'x' type: DT_FLOAT } input_arg: { name: 'alpha' type: DT_FLOAT } output_arg: { name: 'c' type: DT_FLOAT }" -o - | FileCheck %s # Add two tensor<4xi32> inputs and return the result node { diff --git a/tensorflow/compiler/mlir/tfjs/tests/ops.mlir b/tensorflow/compiler/mlir/tfjs/tests/ops.mlir index 0f5c9484289..0b7210118df 100644 --- a/tensorflow/compiler/mlir/tfjs/tests/ops.mlir +++ b/tensorflow/compiler/mlir/tfjs/tests/ops.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -split-input-file -verify-diagnostics -tfl-runtime-verify %s | FileCheck %s --dump-input-on-failure +// RUN: tf-opt -split-input-file -verify-diagnostics -tfl-runtime-verify %s | FileCheck %s // ----- diff --git a/tensorflow/compiler/mlir/tfjs/tests/optimize.mlir b/tensorflow/compiler/mlir/tfjs/tests/optimize.mlir index 1e249f17e45..5f046dc5a8a 100644 --- a/tensorflow/compiler/mlir/tfjs/tests/optimize.mlir +++ b/tensorflow/compiler/mlir/tfjs/tests/optimize.mlir @@ -1,5 +1,5 @@ // Run optimize pass only and check the results. -// RUN: tf-opt %s -tfjs-optimize | FileCheck %s --dump-input-on-failure +// RUN: tf-opt %s -tfjs-optimize | FileCheck %s // CHECK-LABEL: prelu_fusion func @prelu_fusion(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> { diff --git a/tensorflow/compiler/mlir/xla/tests/legalize-tf-BatchMatMulV2.mlir b/tensorflow/compiler/mlir/xla/tests/legalize-tf-BatchMatMulV2.mlir index 3605e2a0d5c..8a9c07e9729 100644 --- a/tensorflow/compiler/mlir/xla/tests/legalize-tf-BatchMatMulV2.mlir +++ b/tensorflow/compiler/mlir/xla/tests/legalize-tf-BatchMatMulV2.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt -xla-legalize-tf=allow-partial-conversion %s | FileCheck %s --dump-input-on-failure +// RUN: tf-opt -xla-legalize-tf=allow-partial-conversion %s | FileCheck %s //===----------------------------------------------------------------------===// // tf.BatchMatMulV2 op legalizations. diff --git a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-select-and-scatter.mlir b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-select-and-scatter.mlir index 3bc5e974ae9..a8c8f5e73c5 100644 --- a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-select-and-scatter.mlir +++ b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-select-and-scatter.mlir @@ -4,7 +4,7 @@ // Lowering to STD dialect and store forwarding pass would be required to get // rid of them. This is exactly what is done in the real MLIR GPU pipeline, but // here we disable verification with `verify-each=0` to check the output IR. -// RUN: xla-opt %s -lhlo-legalize-to-parallel-loops -canonicalize --verify-each=0 | FileCheck %s --dump-input-on-failure +// RUN: xla-opt %s -lhlo-legalize-to-parallel-loops -canonicalize --verify-each=0 | FileCheck %s func @select_and_scatter(%arg: memref<112x112xf32>, %src: memref<56x56xf32>, diff --git a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-parallel-loops.mlir b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-parallel-loops.mlir index f079e6feec3..0ff31d16080 100644 --- a/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-parallel-loops.mlir +++ b/tensorflow/compiler/mlir/xla/tests/lhlo-legalize-to-parallel-loops.mlir @@ -1,4 +1,4 @@ -// RUN: xla-opt %s -lhlo-legalize-to-parallel-loops -canonicalize -split-input-file | FileCheck %s --dump-input-on-failure +// RUN: xla-opt %s -lhlo-legalize-to-parallel-loops -canonicalize -split-input-file | FileCheck %s func @reduce(%arg: memref<100x10x5xf32>, %init: memref, diff --git a/tensorflow/compiler/mlir/xla/tests/xla-hlo-fusion.mlir b/tensorflow/compiler/mlir/xla/tests/xla-hlo-fusion.mlir index 72df18695e1..7cf06de5e01 100644 --- a/tensorflow/compiler/mlir/xla/tests/xla-hlo-fusion.mlir +++ b/tensorflow/compiler/mlir/xla/tests/xla-hlo-fusion.mlir @@ -1,4 +1,4 @@ -// RUN: tf-opt %s -xla-hlo-fusion -split-input-file | FileCheck %s --dump-input-on-failure +// RUN: tf-opt %s -xla-hlo-fusion -split-input-file | FileCheck %s // CHECK-LABEL: func @multi_outputs_same func @multi_outputs_same(%arg0: tensor, %arg1: tensor) -> (tensor, tensor) { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/abs.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/abs.hlo index 210d92d6ed2..0927a6dc15d 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/abs.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/abs.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Abs ENTRY %Abs (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add.hlo index 73005dc80e8..d8c20cfdab0 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Add ENTRY %Add (x: f32[2,2], y: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_as_kernel.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_as_kernel.hlo index 3ee831fc74e..953eb2022f8 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_as_kernel.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_as_kernel.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt -lowering-stage=KERNEL %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt -lowering-stage=KERNEL %s | FileCheck %s HloModule Add ENTRY %Add (x: f32[2,2], y: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_in_gpu_dialect.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_in_gpu_dialect.hlo index af0bf743092..c640130d245 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_in_gpu_dialect.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_in_gpu_dialect.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s HloModule Add ENTRY %Add (x: f32[2,2], y: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply.hlo index 5a972faa282..05dbbebf197 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule AddMultiply ENTRY %AddMultiply (x: f32[2,2], y: f32[2,2], z: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply_gpu.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply_gpu.hlo index bb32f08e69e..645175f802f 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply_gpu.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_multiply_gpu.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s HloModule AddMultiply ENTRY %AddMultiply (x: f32[2,2], y: f32[2,2], z: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_reduce.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_reduce.hlo index 85a7185cd50..fd594b7eca5 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/add_reduce.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/add_reduce.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule AddReduce %add (x: f32[], y: f32[]) -> f32[] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/broadcast.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/broadcast.hlo index 7f4763ef74d..9a2736c019a 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/broadcast.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/broadcast.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Broadcast ENTRY %Broadcast (x: f32[10]) -> f32[10, 5] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/broken_add.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/broken_add.hlo index 0aea08b699b..71014e17db8 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/broken_add.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/broken_add.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt -verify-errors %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt -verify-errors %s | FileCheck %s HloModule Add ENTRY %Add (x: f32[2,2,2], y: f32[2,2,2]) -> f32[2,2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/ceil.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/ceil.hlo index 36699414c98..26a4131617e 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/ceil.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/ceil.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Ceil ENTRY %Ceil (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/compare.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/compare.hlo index d464db52e06..99662951456 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/compare.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/compare.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Compare ENTRY %Compare (x: f32[2,2], y: f32[2,2]) -> pred[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/complex.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/complex.hlo index 974eb4e8cff..996ca0b2786 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/complex.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/complex.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Complex ENTRY %Complex (real: f32[2,2]{0,1}, imag: f32[2,2]{0,1}) -> c64[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/concatenate.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/concatenate.hlo index dde3b739e2e..0b858842db7 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/concatenate.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/concatenate.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Concatenate ENTRY %Concatenate (x: f32[2,3], y: f32[2,2]) -> f32[2,5] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/const.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/const.hlo index 43f0ffb809c..632a44a79e7 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/const.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/const.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Const ENTRY %Const () -> s32[100] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/copy.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/copy.hlo index 3cedc4c43e5..cc1acd03ad5 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/copy.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/copy.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Copy ENTRY %Copy (x: f32[2,4]) -> f32[2,4] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/copy_transpose.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/copy_transpose.hlo index f462b6e0e69..7a9b994eae6 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/copy_transpose.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/copy_transpose.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule CopyTranspose ENTRY %CopyTranspose (x: f32[2,4]) -> f32[2,4]{0,1} { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/cos.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/cos.hlo index 80353b7b3a8..12c9c16d689 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/cos.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/cos.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Cos ENTRY %Cos (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/exp.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/exp.hlo index 03eef5b2a8c..741ebe1118e 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/exp.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/exp.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Exp ENTRY %Exp (x: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/fused_reduce.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/fused_reduce.hlo index 98b22c5b503..66437757140 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/fused_reduce.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/fused_reduce.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule FusedReduce %add (x: f32[], y: f32[]) -> f32[] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/imag.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/imag.hlo index ca79c840ef8..01d125fd866 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/imag.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/imag.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Imag ENTRY %Imag (x: c64[2,2]{0,1}) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/iota.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/iota.hlo index 8d903987b78..eb97667886f 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/iota.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/iota.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Iota ENTRY %Iota() -> s64[10, 5] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/iota_add_subtract.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/iota_add_subtract.hlo index f42a7cf7ca6..6c019dbbc95 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/iota_add_subtract.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/iota_add_subtract.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt -lowering-stage=GPU %s | FileCheck %s HloModule AddSubtract ENTRY %AddSubtract (x: s32[2,2], y: s32[2,2]) -> s32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/log.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/log.hlo index ac73201578e..3a19bc2f703 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/log.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/log.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Log ENTRY %Log (x: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/neg.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/neg.hlo index f1914030841..45804cf8edd 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/neg.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/neg.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Neg ENTRY %Neg (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/real.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/real.hlo index cb19c392b7d..b1b02976a7d 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/real.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/real.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Real ENTRY %Real (x: c64[2,2]{0,1}) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/reduce_window.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/reduce_window.hlo index 8284e054d23..97977e93d44 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/reduce_window.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/reduce_window.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule ReduceWindow %max (x: f32[], y: f32[]) -> f32[] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/rem.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/rem.hlo index f3ac9bf6529..172e3224b77 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/rem.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/rem.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Rem ENTRY %Rem(x: f32[2,2], y: f32[2,2]) -> f32[2,2] { %x = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/rsqrt.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/rsqrt.hlo index fb6d995a1aa..44167bba987 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/rsqrt.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/rsqrt.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Rsqrt ENTRY %Rsqrt (x: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/select.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/select.hlo index 05c5ca68679..d900f56dcb2 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/select.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/select.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Select ENTRY %Select (p: pred[2,2], x: f32[2,2], y: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/select_and_scatter.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/select_and_scatter.hlo index abc289ef83a..da138103bfb 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/select_and_scatter.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/select_and_scatter.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule SelectAndScatter %ge (x: f32[], y: f32[]) -> pred[] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/sign.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/sign.hlo index 0952777903b..0a7afa69bab 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/sign.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/sign.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Sign ENTRY %Sign (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0) diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/sqrt.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/sqrt.hlo index 528b97d2765..54bf947350b 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/sqrt.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/sqrt.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Sqrt ENTRY %Sqrt (x: f32[2,2]) -> f32[2,2] { diff --git a/tensorflow/compiler/xla/service/mlir_gpu/tests/tanh.hlo b/tensorflow/compiler/xla/service/mlir_gpu/tests/tanh.hlo index bf5c6dfde6a..ff147c9041c 100644 --- a/tensorflow/compiler/xla/service/mlir_gpu/tests/tanh.hlo +++ b/tensorflow/compiler/xla/service/mlir_gpu/tests/tanh.hlo @@ -1,4 +1,4 @@ -// RUN: xla-gpu-opt %s | FileCheck %s -dump-input-on-failure +// RUN: xla-gpu-opt %s | FileCheck %s HloModule Tanh ENTRY %Tanh (val: f32[2,2]) -> f32[2,2] { %val = f32[2,2]{1,0} parameter(0)