This patch renames AffineParallelNormalize to AffineLoopNormalize to make it more generic and be able to hold more loop normalization transformations in the future for affine.for and affine.parallel ops. Eventually, it could also be extended to support scf.for and scf.parallel. As a starting point for affine.for, the patch also adds support for removing single iteration affine.for ops to the the pass. Differential Revision: https://reviews.llvm.org/D90267
33 lines
613 B
CMake
33 lines
613 B
CMake
add_mlir_dialect_library(MLIRAffineTransforms
|
|
AffineDataCopyGeneration.cpp
|
|
AffineLoopInvariantCodeMotion.cpp
|
|
AffineLoopNormalize.cpp
|
|
AffineParallelize.cpp
|
|
LoopTiling.cpp
|
|
LoopUnroll.cpp
|
|
LoopUnrollAndJam.cpp
|
|
SuperVectorize.cpp
|
|
SimplifyAffineStructures.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Affine
|
|
|
|
DEPENDS
|
|
MLIRAffineOpsIncGen
|
|
MLIRAffinePassIncGen
|
|
MLIRLoopLikeInterfaceIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRAffine
|
|
MLIRAffineUtils
|
|
MLIREDSC
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRSideEffectInterfaces
|
|
MLIRStandard
|
|
MLIRTransformUtils
|
|
MLIRVector
|
|
MLIRVectorToLLVM
|
|
)
|
|
|