[flang-commits] [flang] [flang] Define ERF, ERFC and ERFC_SCALED intrinsics with Q and D prefix (PR #125217)
Jean-Didier PAILLEUX via flang-commits
flang-commits at lists.llvm.org
Fri Mar 21 07:45:05 PDT 2025
================
@@ -2333,6 +2344,14 @@ std::optional<SpecificCall> IntrinsicInterface::Match(
CHECK(FloatingType.test(*category));
resultType = DynamicType{*category, defaults.doublePrecisionKind()};
break;
+ case KindCode::quadPrecision:
+ CHECK(result.categorySet == CategorySet{*category});
+ CHECK(FloatingType.test(*category));
+ resultType = DynamicType{*category, defaults.quadPrecisionKind()};
+#if !(defined(FLANG_RUNTIME_F128_MATH_LIB) || HAS_LDBL128)
----------------
JDPailleux wrote:
Ok, it's fixed.
https://github.com/llvm/llvm-project/pull/125217
More information about the flang-commits
mailing list