tblah wrote: @skatrak @agozillon please could you take a look at `flang/test/Lower/OpenMP/function-filtering-2.f90`. It looks like we are still generating the offloading main function when compiling for the host. https://github.com/llvm/llvm-project/pull/92387