https://github.com/kuhar commented: Thanks for contributing this. Do we emit errors when using unsupported arithmetic ops etc. with bf16? Could we have tests that cover this? https://github.com/llvm/llvm-project/pull/141458