We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b8056 commit d320ff3Copy full SHA for d320ff3
lib/SPIRV/SPIRVWriter.cpp
@@ -397,6 +397,7 @@ SPIRVType *LLVMToSPIRVBase::transType(Type *T) {
397
}
398
399
400
+#if 0
401
if (T->isBFloatTy()) {
402
BM->getErrorLog().checkError(
403
BM->isAllowedToUseExtension(ExtensionID::SPV_KHR_bfloat16),
@@ -406,6 +407,7 @@ SPIRVType *LLVMToSPIRVBase::transType(Type *T) {
406
407
"requires this extension");
408
return mapType(T, BM->addFloatType(16, FPEncodingBFloat16KHR));
409
410
+#endif
411
412
if (T->isFloatingPointTy())
413
return mapType(T, BM->addFloatType(T->getPrimitiveSizeInBits()));
0 commit comments