Files
clang-p2996/mlir/lib/Dialect/OpenACC/Transforms/CMakeLists.txt
Valentin Clement 0d091206dd [mlir][openacc] Add legalize data pass for compute operation (#80351)
This patch adds a simple pass to replace the uses inside compute operation. It
replaces the `varPtr` values with their corresponding `accPtr` values gathered
through the dataClauseOperands.

private and reductions variables are not included in this pass since they will
normally be replace when they are materialized.

Reland with fix for dependencies
2024-02-05 13:40:41 -08:00

23 lines
432 B
CMake

add_mlir_dialect_library(MLIROpenACCTransforms
LegalizeData.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/OpenACC
DEPENDS
MLIROpenACCPassIncGen
MLIROpenACCOpsIncGen
MLIROpenACCEnumsIncGen
MLIROpenACCAttributesIncGen
MLIROpenACCOpsInterfacesIncGen
MLIROpenACCTypeInterfacesIncGen
LINK_LIBS PUBLIC
MLIROpenACCDialect
MLIRFuncDialect
MLIRIR
MLIRPass
MLIRSupport
MLIRTransforms
)