[Mlir-commits] [mlir] [mlir][spirv] Add bfloat16 support (PR #141458)
Darren Wihandi
llvmlistbot at llvm.org
Mon May 26 10:44:16 PDT 2025
================
@@ -175,10 +175,7 @@ static Type parseAndVerifyType(SPIRVDialect const &dialect,
// Check other allowed types
if (auto t = llvm::dyn_cast<FloatType>(type)) {
- if (type.isBF16()) {
- parser.emitError(typeLoc, "cannot use 'bf16' to compose SPIR-V types");
- return Type();
- }
+ // TODO: All float types are allowed for now, but this should be fixed.
----------------
fairywreath wrote:
I will address this in a separate PR.
https://github.com/llvm/llvm-project/pull/141458
More information about the Mlir-commits
mailing list