aboutsummaryrefslogtreecommitdiff
path: root/flang
diff options
context:
space:
mode:
authorSlava Zakharin <szakharin@nvidia.com>2022-10-11 08:54:58 -0700
committerSlava Zakharin <szakharin@nvidia.com>2022-10-11 08:56:52 -0700
commitdf487bc425101c2550261db705f24f446967c6a7 (patch)
tree6ba841bb731e82a4c934d2978151317611448784 /flang
parent183bf9b34b7a0880fea2fcea3e805abdc890290f (diff)
downloadllvm-df487bc425101c2550261db705f24f446967c6a7.zip
llvm-df487bc425101c2550261db705f24f446967c6a7.tar.gz
llvm-df487bc425101c2550261db705f24f446967c6a7.tar.bz2
[flang] Fix buildbot failure after D135610.
Differential Revision: https://reviews.llvm.org/D135684
Diffstat (limited to 'flang')
-rw-r--r--flang/runtime/extrema.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/flang/runtime/extrema.cpp b/flang/runtime/extrema.cpp
index 6e7e07c..00c02ee 100644
--- a/flang/runtime/extrema.cpp
+++ b/flang/runtime/extrema.cpp
@@ -214,11 +214,13 @@ void RTNAME(MaxlocInteger8)(Descriptor &result, const Descriptor &x, int kind,
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 8, true>(
"MAXLOC", result, x, kind, source, line, mask, back);
}
+#ifdef __SIZEOF_INT128__
void RTNAME(MaxlocInteger16)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 16, true>(
"MAXLOC", result, x, kind, source, line, mask, back);
}
+#endif
void RTNAME(MaxlocReal4)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Real, 4, true>(
@@ -268,11 +270,13 @@ void RTNAME(MinlocInteger8)(Descriptor &result, const Descriptor &x, int kind,
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 8, false>(
"MINLOC", result, x, kind, source, line, mask, back);
}
+#ifdef __SIZEOF_INT128__
void RTNAME(MinlocInteger16)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Integer, 16, false>(
"MINLOC", result, x, kind, source, line, mask, back);
}
+#endif
void RTNAME(MinlocReal4)(Descriptor &result, const Descriptor &x, int kind,
const char *source, int line, const Descriptor *mask, bool back) {
TotalNumericMaxOrMinLoc<TypeCategory::Real, 4, false>(