added missing CHECK, whitespace cleanup

PiperOrigin-RevId: 311816309
Change-Id: I4181bf3d82e82f4ee60f2a894f487c19522490d1
This commit is contained in:
Aart Bik 2020-05-15 15:52:55 -07:00 committed by TensorFlower Gardener
parent b6284742e4
commit ec52e0fcd3

View File

@ -83,7 +83,7 @@ class MLIRGenTest(MLIRGenTestBase):
CHECK-LABEL: func @test_fn(%arg0: i1, %arg1: i1) -> i1
CHECK: %[[r0:[0-9]+]] = "tfp.And"(%arg0, %arg0, %arg1) : (i1, i1, i1) -> tensor<*xi1>
CHECK: %[[r1:[0-9]+]] = "tfp.Or"(%arg0, %arg1, %[[r0]]) : (i1, i1, tensor<*xi1>) -> tensor<*xi1>
return %[[r1]] : tensor<*xi1>
CHECK: return %[[r1]] : tensor<*xi1>
"""
self._check_code(mlir_code, exp_mlir_code)