[flang-commits] [clang] [flang] [Flang] Add -ffast-real-mod and direct code for MOD on REAL types (PR #160660)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Sep 25 02:24:20 PDT 2025


================
@@ -0,0 +1,75 @@
+! RUN: %flang_fc1 -ffast-real-mod -emit-mlir -o - %s | FileCheck %s --check-prefixes=CHECK%if target=x86_64{{.*}} %{,CHECK-KIND10%}%if flang-supports-f128-math %{,CHECK-KIND16%}
----------------
tblah wrote:

I think using kinds which are not enabled for a particular target is a compile error. Please could you put the checks for kind 10 and kind 16 in separate files and skip the whole thing if the types are not supported.

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


More information about the flang-commits mailing list