diff options
Diffstat (limited to 'mlir/test/lib/TestDialect/TestOps.td')
| -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 4071f7e232f..2972793bf02 100644 --- a/mlir/test/lib/TestDialect/TestOps.td +++ b/mlir/test/lib/TestDialect/TestOps.td @@ -206,7 +206,7 @@ def UpdateFloatElementsAttr : Pat< def SymbolRefOp : TEST_Op<"symbol_ref_attr"> { let arguments = (ins - Confined<SymbolRefAttr, [ReferToOp<"FuncOp">]>:$symbol + Confined<FlatSymbolRefAttr, [ReferToOp<"FuncOp">]>:$symbol ); } @@ -232,7 +232,7 @@ def SizedRegionOp : TEST_Op<"sized_region_op", []> { def ConversionCallOp : TEST_Op<"conversion_call_op", [CallOpInterface]> { - let arguments = (ins Variadic<AnyType>:$inputs, SymbolRefAttr:$callee); + let arguments = (ins Variadic<AnyType>:$inputs, FlatSymbolRefAttr:$callee); let results = (outs Variadic<AnyType>); let extraClassDeclaration = [{ @@ -241,7 +241,7 @@ def ConversionCallOp : TEST_Op<"conversion_call_op", /// Return the callee of this operation. CallInterfaceCallable getCallableForCallee() { - return getAttrOfType<SymbolRefAttr>("callee"); + return getAttrOfType<FlatSymbolRefAttr>("callee"); } }]; } |

