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.
21 lines
298 B
CMake
21 lines
298 B
CMake
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
|
|
add_flang_library(FIROpenMPSupport
|
|
FIROpenMPAttributes.cpp
|
|
RegisterOpenMPExtensions.cpp
|
|
|
|
DEPENDS
|
|
FIRBuilder
|
|
FIRDialect
|
|
|
|
LINK_LIBS
|
|
FIRBuilder
|
|
FIRDialect
|
|
|
|
MLIR_DEPS
|
|
MLIROpenMPDialect
|
|
|
|
MLIR_LIBS
|
|
MLIROpenMPDialect
|
|
)
|