We are in the beginning in F18/flang as you mentioned. I agree that it would be great if we have a common code generator for the frontends. However, I am not seeing any intersecting between the internals of clang and flang that we can rely on to implement “OpenMP-IRBuilder”.
This would be great if the RFC is elaborated.
Best
-Guray