https://github.com/Artem-B approved this pull request. LGTM in general, but I'm curious whether FP_TO_BF16 and BF16_TO_FP would produce better/worse/same SASS for these conversions. https://github.com/llvm/llvm-project/pull/74827