[Mlir-commits] [llvm] [mlir] [mlir][tosa] Remove availability interfaces from profile conformance (PR #207809)

Iliyan Georgiev llvmlistbot at llvm.org
Fri Jul 10 01:59:29 PDT 2026


================
@@ -508,22 +484,18 @@ LogicalResult TosaProfileCompliance::checkProfileOrExtension(
   const TosaSpecificationVersion targetVersion{targetEnv.getSpecVersion()};
   const auto isVersionCompatible =
       [&targetVersion](const OpComplianceInfo<T> &info) -> bool {
+    // Assume compatible if there are no versioned type constraints
+    if (info.operandTypeInfoSet.empty())
----------------
iliyan-georgiev-arm wrote:

As a continuation from the comment on `TosaComplianceData.h.inc`.

Unless I'm misunderstanding this implies that if we were to add an op in the future (similar to shape ops) which does not have type constraints it would be impoliticly compatible with older versions of the specification?

https://github.com/llvm/llvm-project/pull/207809


More information about the Mlir-commits mailing list