YixingZhang007 wrote: > LGTM. Should we add any test to see if we can properly generate bfloat16 type? Thanks for the suggestion! I have added test case for bfloat in the SPIR-V test `basic_float_types.ll`. https://github.com/llvm/llvm-project/pull/156871