diff options
| author | Kazuaki Ishizaki <kiszk@users.noreply.github.com> | 2019-10-20 09:44:06 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-10-20 09:44:36 -0700 |
| commit | f28c5aca1766889cc19b09ee32796df3e7b52cfe (patch) | |
| tree | b8b361fb5dae8136b577b7f3ab0e238f40081dff /mlir/test/lib/TestDialect | |
| parent | 8bfedb3ca599ccf3c507e721f4bf5e6a3b026f8c (diff) | |
| download | bcm5719-llvm-f28c5aca1766889cc19b09ee32796df3e7b52cfe.tar.gz bcm5719-llvm-f28c5aca1766889cc19b09ee32796df3e7b52cfe.zip | |
Fix minor spelling tweaks (NFC)
Closes tensorflow/mlir#175
PiperOrigin-RevId: 275726876
Diffstat (limited to 'mlir/test/lib/TestDialect')
| -rw-r--r-- | mlir/test/lib/TestDialect/TestOps.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/test/lib/TestDialect/TestOps.td b/mlir/test/lib/TestDialect/TestOps.td index d8a0e57fdfc..1157eb8ec2c 100644 --- a/mlir/test/lib/TestDialect/TestOps.td +++ b/mlir/test/lib/TestDialect/TestOps.td @@ -442,14 +442,14 @@ def OpNativeCodeCall2 : TEST_Op<"native_code_call2"> { // Native code call to invoke a C++ function def CreateOperand: NativeCodeCall<"chooseOperand($0, $1, $2)">; // Native code call to invoke a C++ expression -def CreateArraryAttr: NativeCodeCall<"$_builder.getArrayAttr({$0, $1})">; +def CreateArrayAttr: NativeCodeCall<"$_builder.getArrayAttr({$0, $1})">; // Test that we can use NativeCodeCall to create operand and attribute. // This pattern chooses between $input1 and $input2 according to $choice and // it combines $attr1 and $attr2 into an array attribute. def : Pat<(OpNativeCodeCall1 $input1, $input2, ConstBoolAttrTrue:$choice, $attr1, $attr2), (OpNativeCodeCall2 (CreateOperand $input1, $input2, $choice), - (CreateArraryAttr $attr1, $attr2))>; + (CreateArrayAttr $attr1, $attr2))>; // Note: the following is just for testing purpose. // Should use the replaceWithValue directive instead. def UseOpResult: NativeCodeCall<"$0">; @@ -719,7 +719,7 @@ def OneVResOneVOperandOp2 : TEST_Op<"one_variadic_out_one_variadic_in2"> { } // Rewrite an op with one variadic operand and one variadic result to -// another similiar op. +// another similar op. def : Pat<(OneVResOneVOperandOp1 $inputs), (OneVResOneVOperandOp2 $inputs)>; def MixedVOperandOp1 : TEST_Op<"mixed_variadic_in1", |

