[Mlir-commits] [llvm] [mlir] [mlir][tosa] Add profile-based operation validation (PR #126992)
Aaron Siddhartha Mondal
llvmlistbot at llvm.org
Thu Feb 13 01:56:26 PST 2025
================
@@ -12158,6 +12158,26 @@ gentbl_cc_library(
["-gen-op-defs"],
"include/mlir/Dialect/Tosa/IR/TosaOps.cpp.inc",
),
+ (
----------------
aaronmondal wrote:
nit: I believe this would be more consistent with he cmake setup:
```python
gentbl_cc_library(
name = "MLIRTosaEnumsIncGen",
tbl_outs = [
(
["-gen-enum-decls"],
"include/mlir/Dialect/Tosa/IR/TosaEnums.h.inc",
),
(
["-gen-enum-defs"],
"include/mlir/Dialect/Tosa/IR/TosaEnums.cpp.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/Tosa/IR/TosaOpBase.td",
)
gentbl_cc_library(
name = "MLIRTosaAvailabilityIncGen",
tbl_outs = [
(
["-gen-avail-interface-decls"],
"include/mlir/Dialect/Tosa/IR/TosaAvailability.h.inc",
),
(
["-gen-avail-interface-defs"],
"include/mlir/Dialect/Tosa/IR/TosaAvailability.cpp.inc",
),
(
["-gen-tosa-avail-impls"],
"include/mlir/Dialect/Tosa/IR/TosaOpAvailabilityImpl.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/Tosa/IR/TosaOps.td",
)
```
https://github.com/llvm/llvm-project/pull/126992
More information about the Mlir-commits
mailing list