//===- TestBuiltinDistinctAttributes.cpp - Test DistinctAttributes --------===// // // 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 "TestDialect.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/Pass/Pass.h" usingnamespacemlir; namespace { /// This is a distinct attribute test pass that tests if distinct attributes can /// be created in parallel in a deterministic way. struct DistinctAttributesPass : public PassWrapper<DistinctAttributesPass, OperationPass<func::FuncOp>> { … }; } // namespace namespace mlir { namespace test { void registerTestBuiltinDistinctAttributes() { … } } // namespace test } // namespace mlir