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

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Thu Sep 25 08:22:16 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%}
----------------
mjklemm wrote:

I was trying to follow what mod.f90 did.  Alas, I failed to do everything that test did.  Now the test in this PR does it the same way.  Hope that's OK and an acceptable way how I have addressed your comment.

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


More information about the flang-commits mailing list