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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Tue Sep 8 09:49:36 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)
----------------
tarunprabhu wrote:

There is a `flang_exe` field in the `config` object. Can that be used here, or is that something else?

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


More information about the flang-commits mailing list