[flang-commits] [flang] [llvm] [flang][flang-rt] Add support for non-standard TIMEF intrinsic (PR #185377)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Apr 29 04:33:35 PDT 2026
================
@@ -0,0 +1,15 @@
+!RUN: bbc -emit-hlfir %s -o - | FileCheck %s
+!RUN: %flang_fc1 -emit-hlfir %s -o - | FileCheck %s
+
+subroutine test_timef(t)
+ real(8) :: t
+ t = timef()
+end subroutine
+! CHECK-LABEL: func.func @_QPtest_timef(
+! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<f64> {fir.bindc_name = "t"}) {
----------------
tarunprabhu wrote:
Probably no need to indent this as much as it is currently.
```suggestion
! CHECK-SAME: %[[VAL_0:.*]]: !fir.ref<f64> {fir.bindc_name = "t"}) {
```
https://github.com/llvm/llvm-project/pull/185377
More information about the flang-commits
mailing list