mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 17:26:41 +00:00

This patch defines `fir::SafeTempArrayCopyAttrInterface` and the corresponding OpenACC/OpenMP related attributes in FIR dialect. The actual implementations are just placeholders right now, and array repacking becomes a no-op if `-fopenacc/-fopenmp` is used for the compilation.
29 lines
450 B
CMake
29 lines
450 B
CMake
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
|
|
add_flang_library(FIROpenACCSupport
|
|
FIROpenACCAttributes.cpp
|
|
FIROpenACCTypeInterfaces.cpp
|
|
RegisterOpenACCExtensions.cpp
|
|
|
|
DEPENDS
|
|
FIRBuilder
|
|
FIRDialect
|
|
FIRDialectSupport
|
|
FIRSupport
|
|
HLFIRDialect
|
|
|
|
LINK_LIBS
|
|
FIRBuilder
|
|
FIRCodeGenDialect
|
|
FIRDialect
|
|
FIRDialectSupport
|
|
FIRSupport
|
|
HLFIRDialect
|
|
|
|
MLIR_DEPS
|
|
MLIROpenACCDialect
|
|
|
|
MLIR_LIBS
|
|
MLIROpenACCDialect
|
|
)
|