[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / flang / runtime / support.cpp
blob88a3e79009f6cd17c82bd2e54973f6ac8f460240
1 //===-- runtime/support.cpp -----------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "flang/Runtime/support.h"
10 #include "flang/Runtime/descriptor.h"
12 namespace Fortran::runtime {
13 extern "C" {
15 bool RTNAME(IsContiguous)(const Descriptor &descriptor) {
16 return descriptor.IsContiguous();
19 } // extern "C"
20 } // namespace Fortran::runtime