message: Update MLIR to GraphDef function-order test to follow OpDef of Empty op (Empty ops should have one operand).
diff: @@ -16,9 +16,26 @@ func @main() {
  // CHECK-NEXT: signature {
  // CHECK-NEXT: name: "bar"
  // CHECK-NEXT: }
  -// CHECK-NEXT: node_def {
  +// CHECK: node_def {
  +// CHECK-NEXT: name: "_tf.Const"
  +// CHECK-NEXT: op: "Const"
  +// CHECK-NEXT: attr {
  +// CHECK-NEXT: key: "dtype"
  +// CHECK-NEXT: value {
  +// CHECK-NEXT: type: DT_INT32
  +// CHECK-NEXT: }
  +// CHECK-NEXT: }
  +// CHECK-NEXT: attr {
  +// CHECK-NEXT: key: "value"
  +// CHECK-NEXT: value {
  +// CHECK-NEXT: i: 1
  +// CHECK-NEXT: }
  +// CHECK-NEXT: }
  +// CHECK: }
  +// CHECK: node_def {
  // CHECK-NEXT: name: "_tf.Empty"
  // CHECK-NEXT: op: "Empty"
  +// CHECK-NEXT: input: "_tf.Const:output:0"
  // CHECK-NEXT: attr {
  // CHECK-NEXT: key: "dtype"
  // CHECK-NEXT: value {
  @@ -29,7 +46,8 @@ func @main() {
  // CHECK-NEXT: }
  func @bar() {
  ^bb0:
  - %0 = "_tf.Empty"() {dtype = "tfdtype$DT_FLOAT", name = "_tf.Empty"} : () -> (tensor<*xf32>)
  + %0 = "_tf.Const"() {dtype = "tfdtype$DT_INT32", name = "_tf.Const", value = 1 : i32} : () -> tensor<i32>
  + %1 = "_tf.Empty"(%0) {dtype = "tfdtype$DT_FLOAT", name = "_tf.Empty"} : (tensor<i32>) -> (tensor<*xf32>)
  return
  }
  