Skip to content

Commit 7cbe979

Browse files
Update diagnostics per llvm coding guidelines
1 parent 1538453 commit 7cbe979

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

utils/hct/hctdb.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8409,43 +8409,43 @@ def build_valrules(self):
84098409
self.add_valrule_msg(
84108410
"Instr.MatVecOpIsUnsignedFlagsAreConst",
84118411
"In Linalg Mul/MulAdd functions, IsUnsigned flag is a constant.",
8412-
"'%1' is not a constant value.",
8412+
"'%1' is not a constant value",
84138413
)
84148414

84158415
self.add_valrule_msg(
84168416
"Instr.LinalgInterpretationParamAreConst",
84178417
"In Linalg operations, Interpretation value is a constant.",
8418-
"'%1' is not a constant value.",
8418+
"'%1' is not a constant value",
84198419
)
84208420

84218421
self.add_valrule_msg(
84228422
"Instr.LinalgInvalidRegisterInterpValue",
84238423
"From Register Interpretation value must be valid.",
8424-
"'%0' is not a valid %1 interpretation value.",
8424+
"'%0' is not a valid %1 interpretation value",
84258425
)
84268426

84278427
self.add_valrule_msg(
84288428
"Instr.LinalgInvalidMemoryInterpValue",
84298429
"In Memory Interpolation value must be valid.",
8430-
"'%0' is not a valid %1 interpretation value."
8430+
"'%0' is not a valid %1 interpretation value"
84318431
)
84328432

84338433
self.add_valrule_msg(
84348434
"Instr.LinalgMatrixShapeParamsAreConst",
84358435
"Matrix Layout, Dimensions and isTranspose are constants",
8436-
"'%0' is not a constant value.",
8436+
"'%0' is not a constant value",
84378437
)
84388438

84398439
self.add_valrule_msg(
84408440
"Instr.LinalgInvalidMatrixLayoutValueForMatVecOps",
84418441
"Matrix Layout for Linalg Mul/MulAdd operation must be valid.",
8442-
"Matrix Layout value '%0' is not valid. Must be between [%1 - %2].",
8442+
"matrix layout value '%0' is not valid. Must be between [%1 - %2]",
84438443
)
84448444

84458445
self.add_valrule_msg(
84468446
"Instr.LinalgMatrixLayoutNotTransposable",
84478447
"Row Major and Column Major matrix layouts are not transposable.",
8448-
"'%0' matrix layout is not transposable.",
8448+
"%0 matrix layout is not transposable",
84498449
)
84508450

84518451
self.add_valrule_msg(

0 commit comments

Comments
 (0)