https://github.com/IgWod-IMG commented: Thanks for submitting this PR! Adding bf16 support was somewhere on my TODO list, so I'm glad to see this patch. I've left few comments - sorry for nitpicks! :) https://github.com/llvm/llvm-project/pull/141458