[flang-commits] [flang] [flang] GETPID runtime and lower intrinsic implementation (PR #70442)

Yi Wu via flang-commits flang-commits at lists.llvm.org
Thu Nov 9 06:41:57 PST 2023


PAX-12-WU wrote:

> `getpid` needs to be defined as an intrinsic function in order to get its result type correct.

Thanks @klausler for the input. I am assuming you meant to add an entry to `genericIntrinsicFunction` in `flang/lib/Evaluate/intrinsics.cpp` for defining an intrinsic function. If so, that is the approach I have chosen in this patch. If that looks OK, could you please review.

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


More information about the flang-commits mailing list