File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,17 +84,17 @@ struct MyTarget : public ConversionTarget {
84
84
// Marking an operation as Legal:
85
85
86
86
/// Mark all operations within the LLVM dialect are legal.
87
- addLegalDialects <LLVMDialect>();
87
+ addLegalDialect <LLVMDialect>();
88
88
89
89
/// Mark `std.constant` op is always legal on this target.
90
- addLegalOps <ConstantOp>();
90
+ addLegalOp <ConstantOp>();
91
91
92
92
//--------------------------------------------------------------------------
93
93
// Marking an operation as dynamically legal.
94
94
95
95
/// Mark all operations within Affine dialect have dynamic legality
96
96
/// constraints.
97
- addDynamicallyLegalDialects <AffineDialect>();
97
+ addDynamicallyLegalDialect <AffineDialect>();
98
98
99
99
/// Mark `std.return` as dynamically legal.
100
100
addDynamicallyLegalOp<ReturnOp>();
You can’t perform that action at this time.
0 commit comments