[flang-commits] [flang] [flang][runtime] Added pseudo file unit for simplified PRINT. (PR #86134)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Mar 21 08:56:00 PDT 2024


vzakhari wrote:

> Could this code be structured so that unit.cpp isn't even compiled for the device?

Yes, I can extract the common parts (e.g. lines 367-1070) into a separate file, e.g. `unit-common.cpp`, and split the methods that have different implementations into `unit.cpp` and `unit-pseudo.cpp`.  Does it sound okay?

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


More information about the flang-commits mailing list