Skip to content

Commit

Permalink
Improve option names.
Browse files Browse the repository at this point in the history
  • Loading branch information
uazizTT committed Nov 5, 2024
1 parent 529b18a commit 63421bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ttmlir/Dialect/TTIR/Pipelines/TTIRPipelines.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct StableHLOToTTIRPipelineOptions
*this, "enable-remove-dead-values",
llvm::cl::desc("Enable --remove-dead-values optimization pass."),
llvm::cl::init(true)};
Option<bool> SparseConstantPropogationEnabled{
Option<bool> sparseConstantPropogationEnabled{
*this, "enable-sparse-constant-propogation",
llvm::cl::desc("Enable --sccp optimization pass."),
llvm::cl::init(false)};
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/TTIR/Pipelines/TTIRPipelines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void createStableHLOToTTIRPipeline(
if (options.removeDeadValuesEnabled) {
pm.addPass(mlir::createRemoveDeadValuesPass());
}
if (options.SparseConstantPropogationEnabled) {
if (options.sparseConstantPropogationEnabled) {
pm.addPass(mlir::createSCCPPass());
}
}
Expand Down

0 comments on commit 63421bd

Please sign in to comment.