File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
clang/include/clang/CIR/Dialect/IR Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1515
1616include "mlir/IR/CommonAttrConstraints.td"
1717
18- class CIR_IsAttrPred<code attr> : CPred<"::mlir::isa<" # attr # ">($_self)">;
19-
20- class CIR_AttrConstraint<code attr, string summary = "">
21- : Attr<CIR_IsAttrPred<attr>, summary>;
22-
2318//===----------------------------------------------------------------------===//
2419// IntAttr constraints
2520//===----------------------------------------------------------------------===//
2621
27- def CIR_AnyIntAttr : CIR_AttrConstraint<":: cir::IntAttr" , "integer attribute">;
22+ def CIR_AnyIntAttr : Attr<CPred<"mlir::isa< cir::IntAttr>($_self)"> , "integer attribute">;
2823
2924//===----------------------------------------------------------------------===//
3025// FPAttr constraints
You can’t perform that action at this time.
0 commit comments