Skip to content

Commit cfacb99

Browse files
committed
patch
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 2c8b86a commit cfacb99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,11 +1466,11 @@ void addInstrRequirements(const MachineInstr &MI,
14661466
SPIRV::CooperativeMatrixOperands::MatrixCBFloat16ComponentsINTEL ||
14671467
CoopOperands & SPIRV::CooperativeMatrixOperands::
14681468
MatrixResultBFloat16ComponentsINTEL) {
1469-
if (!ST.canUseExtension(SPIRV::Extension::SPV_INTEL_joint_matrix))
1470-
report_fatal_error("***BF16ComponentsINTEL type interpretations "
1471-
"require the following SPIR-V extension: "
1472-
"SPV_INTEL_joint_matrix",
1473-
false);
1469+
if (!ST.canUseExtension(SPIRV::Extension::SPV_INTEL_joint_matrix))
1470+
report_fatal_error("***BF16ComponentsINTEL type interpretations "
1471+
"require the following SPIR-V extension: "
1472+
"SPV_INTEL_joint_matrix",
1473+
false);
14741474
Reqs.addExtension(SPIRV::Extension::SPV_INTEL_joint_matrix);
14751475
Reqs.addCapability(
14761476
SPIRV::Capability::CooperativeMatrixBFloat16ComponentTypeINTEL);

0 commit comments

Comments
 (0)