You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CIR][CIRGen] Add CIRGen support for float16 and bfloat (llvm#571)
This PR adds two new CIR floating-point types, namely `!cir.f16` and
`!cir.bf16`, to represent the float16 format and bfloat format,
respectively.
This PR converts the clang extension type `_Float16` to `!cir.f16`, and
converts the clang extension type `__bf16` type to `!cir.bf16`. The type
conversion for clang extension type `__fp16` is not included in this PR
since it requires additional work during CIRGen.
Only CIRGen is implemented here, LLVMIR lowering / MLIR lowering should
come next.
0 commit comments