forked from OSchip/llvm-project
[mlir][affine] Make loop tiling default options explicit
Make default loop tiling options explicit from CLI options. We can also set default value for separate option which is declared implicitly. Reviewed By: ayzhuang Differential Revision: https://reviews.llvm.org/D127711
This commit is contained in:
parent
5ae3f65cfa
commit
95bdbb9747
|
@ -186,9 +186,9 @@ def AffineLoopTiling : Pass<"affine-loop-tile", "func::FuncOp"> {
|
|||
let constructor = "mlir::createLoopTilingPass()";
|
||||
let options = [
|
||||
Option<"cacheSizeInKiB", "cache-size", "uint64_t", /*default=*/"512",
|
||||
"Set size of cache to tile for in KiB">,
|
||||
Option<"separate", "separate", "bool", /*default=*/"",
|
||||
"Separate full and partial tiles">,
|
||||
"Set size of cache to tile for in KiB (default: 512)">,
|
||||
Option<"separate", "separate", "bool", /*default=*/"false",
|
||||
"Separate full and partial tiles (default: false)">,
|
||||
Option<"tileSize", "tile-size", "unsigned", /*default=*/"",
|
||||
"Use this tile size for all loops">,
|
||||
ListOption<"tileSizes", "tile-sizes", "unsigned",
|
||||
|
|
Loading…
Reference in New Issue