[flang-commits] [flang] [llvm] [flang] Use backend fp128 support to determine REAL(16) availability (PR #221907)

Shunsuke Watanabe via flang-commits flang-commits at lists.llvm.org
Wed Sep 9 01:04:16 PDT 2026


================
@@ -265,11 +265,35 @@ def get_resource_module_intrinsic_dir(modfile):
 
 config.substitutions.append(("%openmp_flags", "-fopenmp"))
 
+
+def flang_supports_f128():
+    flang_exe = lit.util.which("flang", config.clang_tools_dir)
----------------
s-watanabe314 wrote:

`config.flang_exe` can be used directly, so I've updated the code accordingly.

https://github.com/llvm/llvm-project/pull/221907


More information about the flang-commits mailing list