From fc5cd2025fad97d4747429001bfa8728dccc4bf4 Mon Sep 17 00:00:00 2001 From: Benjamin Maxwell Date: Fri, 8 Sep 2023 10:56:11 +0000 Subject: [PATCH] [mlir][TOSA] Fix interpretation of --tosa-validate='profile=undefined' Due to a copy-paste error in 32b7c1ff this was incorrectly mapped to TosaProfileEnum::MainTraining rather than TosaProfileEnum::Undefined. --- mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td b/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td index bc30b88ea2af6..18402b3e70647 100644 --- a/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td +++ b/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td @@ -101,7 +101,7 @@ def TosaValidation : Pass<"tosa-validate", "func::FuncOp"> { "Use Main Inference profile."), clEnumValN(mlir::tosa::TosaProfileEnum::MainTraining, "mt", "Use Main Training profile."), - clEnumValN(mlir::tosa::TosaProfileEnum::MainTraining, "undefined", + clEnumValN(mlir::tosa::TosaProfileEnum::Undefined, "undefined", "Do not define a profile.") )}]>, Option<"StrictOperationSpecAlignment", "strict-op-spec-alignment", "bool",