0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-27 13:46:07 +00:00
llvm-project/flang/lib/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.cpp
Slava Zakharin 9aff19e7a3
[flang] Defined SafeTempArrayCopyAttrInterface for array repacking. ()
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.
2025-04-10 18:41:54 -07:00

16 lines
671 B
C++

//===-- SafeTempArrayCopyAttrInterface.cpp --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
//
//===----------------------------------------------------------------------===//
#include "flang/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.h"
#include "flang/Optimizer/Dialect/SafeTempArrayCopyAttrInterface.cpp.inc"