[clang] [llvm] [RFC][AMDGPU] Use `bf16` instead of `i16` for bfloat (PR #80908)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 09:40:48 PST 2024


================
@@ -5908,8 +5908,6 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
           }
         }
 
-        assert(ArgValue->getType()->canLosslesslyBitCastTo(PTy) &&
----------------
shiltian wrote:

This change might need to go to a separate patch.

https://github.com/llvm/llvm-project/pull/80908


More information about the cfe-commits mailing list