[Mlir-commits] [mlir] [mlir][tosa] Add support for boolean cast/gather/scatter operations (PR #177693)
Ian Tayler Lessa
llvmlistbot at llvm.org
Wed Feb 4 06:17:07 PST 2026
================
@@ -371,15 +371,23 @@ profileComplianceMap = {
{{i32T, i32T, i32T}, SpecificationVersion::V_1_0}}},
{{Profile::pro_fp},
{{{fp16T, i32T, fp16T}, SpecificationVersion::V_1_0},
- {{fp32T, i32T, fp32T}, SpecificationVersion::V_1_0}}}}},
+ {{fp32T, i32T, fp32T}, SpecificationVersion::V_1_0}}},
+ {{Profile::pro_fp, Profile::pro_int},
+ {{{boolT, i32T, boolT}, SpecificationVersion::V_1_1_DRAFT},
+ {{boolT, i64T, boolT}, SpecificationVersion::V_1_1_DRAFT}},
+ anyOf}}},
{"tosa.scatter",
{{{Profile::pro_int},
{{{i8T, i32T, i8T, i8T}, SpecificationVersion::V_1_0},
{{i16T, i32T, i16T, i16T}, SpecificationVersion::V_1_0},
{{i32T, i32T, i32T, i32T}, SpecificationVersion::V_1_0}}},
{{Profile::pro_fp},
{{{fp16T, i32T, fp16T, fp16T}, SpecificationVersion::V_1_0},
- {{fp32T, i32T, fp32T, fp32T}, SpecificationVersion::V_1_0}}}}},
+ {{fp32T, i32T, fp32T, fp32T}, SpecificationVersion::V_1_0}}},
+ {{Profile::pro_fp, Profile::pro_int},
+ {{{boolT, i32T, boolT, boolT}, SpecificationVersion::V_1_1_DRAFT},
+ {{boolT, i64T, boolT, boolT}, SpecificationVersion::V_1_1_DRAFT}},
----------------
IanTaylerLessa-arm wrote:
Thanks for the change. Given what you're saying, I think it'd be acceptable if we were to regress back to having it there (e.g. if we run the script again in the future), but the current state is preferable.
https://github.com/llvm/llvm-project/pull/177693
More information about the Mlir-commits
mailing list