This patch _conditionally_ renames flang-new as flang. This is controlled with the FLANG_USE_LEGACY_NAME Cmake option, which by default is set to ON. This means that by default, the driver executable will still be called flang-new. If you want to use the updated name, flang, set FLANG_USE_LEGACY_NAME to OFF when configuring LLVM Flang. No other set-up is required.
Similarly to Clang, Flang's driver executable will be called flang{-new}-<MAJOR_VERSION> and flang{-new} will be a symlink to flang{-new}-<MAJOR_VERSION>.
Why do we need two lines here? Shouldn't we have a single line with the name chosen by the cmake option?