Skip to content

Commit 6f95737

Browse files
authored
[mlir][TOSA] Fix interpretation of --tosa-validate='profile=undefined' (#65738)
Due to a copy-paste error in 32b7c1f this was incorrectly mapped to `TosaProfileEnum::MainTraining` rather than `TosaProfileEnum::Undefined`.
1 parent 0f50d01 commit 6f95737

File tree

1 file changed

+1
-1
lines changed
  • mlir/include/mlir/Dialect/Tosa/Transforms

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def TosaValidation : Pass<"tosa-validate", "func::FuncOp"> {
101101
"Use Main Inference profile."),
102102
clEnumValN(mlir::tosa::TosaProfileEnum::MainTraining, "mt",
103103
"Use Main Training profile."),
104-
clEnumValN(mlir::tosa::TosaProfileEnum::MainTraining, "undefined",
104+
clEnumValN(mlir::tosa::TosaProfileEnum::Undefined, "undefined",
105105
"Do not define a profile.")
106106
)}]>,
107107
Option<"StrictOperationSpecAlignment", "strict-op-spec-alignment", "bool",

0 commit comments

Comments
 (0)