Skip to content

Commit

Permalink
[mlir][spirv] Fix incorrect error message in processCapability (#129079)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgWod-IMG authored Feb 27, 2025
1 parent 10a9dca commit 8c9cd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ LogicalResult spirv::Deserializer::processHeader() {
LogicalResult
spirv::Deserializer::processCapability(ArrayRef<uint32_t> operands) {
if (operands.size() != 1)
return emitError(unknownLoc, "OpMemoryModel must have one parameter");
return emitError(unknownLoc, "OpCapability must have one parameter");

auto cap = spirv::symbolizeCapability(operands[0]);
if (!cap)
Expand Down

0 comments on commit 8c9cd1c

Please sign in to comment.