Skip to content

Commit 766d068

Browse files
DianaChenigcbot
authored andcommitted
IGA: Refine error message (NFC)
Corrected the error message for verifying swsb encoding.
1 parent 3c5f3a3 commit 766d068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/iga/IGALibrary/IR/InstBuilder.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ class InstBuilder {
446446

447447
SWSB::InstType instType = inst->getSWSBInstType(m_swsbEncodeMode);
448448
if (!swInfo.verify(m_swsbEncodeMode, instType)) {
449-
m_errorHandler.reportError(inst->getLoc(), "invalid SWSB mode");
449+
m_errorHandler.reportError(inst->getLoc(), "invalid SWSB");
450450
}
451451

452452
inst->setSWSB(swInfo);

0 commit comments

Comments
 (0)