Files
clang-p2996/flang/lib/Optimizer/OpenMP/Support/RegisterOpenMPExtensions.cpp
Slava Zakharin 9aff19e7a3 [flang] Defined SafeTempArrayCopyAttrInterface for array repacking. (#134346)
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

21 lines
742 B
C++

//===-- RegisterOpenMPExtensions.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
//
//===----------------------------------------------------------------------===//
//
// Registration for OpenMP extensions as applied to FIR dialect.
//
//===----------------------------------------------------------------------===//
#include "flang/Optimizer/OpenMP/Support/RegisterOpenMPExtensions.h"
namespace fir::omp {
void registerOpenMPExtensions(mlir::DialectRegistry &registry) {
registerAttrsExtensions(registry);
}
} // namespace fir::omp