//===- TestPDLL.pdll - Test PDLL functionality ----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "TestOps.td" #include "mlir/Transforms/DialectConversion.pdll" /// Change the result type of a producer. Pattern => replace op -> (results: TypeRange) with op -> (convertTypes(results)); /// Pass through test.return conversion. Pattern => replace op(args: ValueRange) with op(convertValues(args));