Skip to content

Commit 2dbed9a

Browse files
committed
lowercase error message
1 parent 0609a3d commit 2dbed9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/TableGen/GlobalISelCombinerEmitter/pattern-errors.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def matchdata_without_cxx_apply : GICombineRule<
283283
(match (G_ZEXT $dst, $src):$mi),
284284
(apply (G_MUL $dst, $src, $src))>;
285285

286-
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
286+
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
287287
def missing_apply : GICombineRule<
288288
(defs root:$dst),
289289
(match (G_ZEXT $dst, $src))>;
@@ -298,13 +298,13 @@ def combineop_missing_mir : GICombineRule<
298298
(defs root:$d),
299299
(combine "return APPLY;")>;
300300

301-
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
301+
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
302302
def mixed_combine_match : GICombineRule<
303303
(defs root:$d),
304304
(combine (G_ZEXT $d, $y), "return APPLY;"),
305305
(match (G_ZEXT $d, $y))>;
306306

307-
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: Expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
307+
// CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected both a 'match' and 'apply' action in combine rule, or a single 'combine' action
308308
def mixed_combine_apply : GICombineRule<
309309
(defs root:$d),
310310
(combine "return APPLY;"),

llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ bool CombineRuleBuilder::parseAll() {
833833
return false;
834834
}
835835
} else {
836-
PrintError("Expected both a 'match' and 'apply' action in combine rule, "
836+
PrintError("expected both a 'match' and 'apply' action in combine rule, "
837837
"or a single 'combine' action");
838838
return false;
839839
}

0 commit comments

Comments
 (0)