mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 13:46:07 +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.
16 lines
671 B
C++
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"
|