[Mlir-commits] [mlir] 6f95737 - [mlir][TOSA] Fix interpretation of --tosa-validate='profile=undefined' (#65738)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Sep 8 08:11:24 PDT 2023
Author: Benjamin Maxwell
Date: 2023-09-08T16:11:19+01:00
New Revision: 6f95737ed4645bf20b33f2d21c93aadd3dcaba27
URL: https://github.com/llvm/llvm-project/commit/6f95737ed4645bf20b33f2d21c93aadd3dcaba27
DIFF: https://github.com/llvm/llvm-project/commit/6f95737ed4645bf20b33f2d21c93aadd3dcaba27.diff
LOG: [mlir][TOSA] Fix interpretation of --tosa-validate='profile=undefined' (#65738)
Due to a copy-paste error in 32b7c1ff this was incorrectly mapped to
`TosaProfileEnum::MainTraining` rather than `TosaProfileEnum::Undefined`.
Added:
Modified:
mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td b/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
index bc30b88ea2af6a9..18402b3e70647a9 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",
More information about the Mlir-commits
mailing list