[flang-commits] [flang] [flang] Implement lowering for the PAUSE statement (Fixes #166821) (PR #167115)
via flang-commits
flang-commits at lists.llvm.org
Fri Nov 21 06:59:50 PST 2025
================
@@ -6,3 +6,24 @@ subroutine pause_test()
! CHECK-NEXT: return
pause
end subroutine
+
+! CHECK-LABEL: pause_code
+subroutine pause_code()
+ pause 42
+ ! CHECK: fir.call @_Fortran{{.*}}PauseStatementInt
----------------
jeanPerier wrote:
Can you test that the argument is set up as expected from 42?
https://github.com/llvm/llvm-project/pull/167115
More information about the flang-commits
mailing list