Skip to content

Commit 064c2e7

Browse files
committed
Fix failing TableGen tests
1 parent aeaa11a commit 064c2e7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

llvm/test/TableGen/directive1.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,8 @@ def TDL_DirA : Directive<"dira"> {
370370
// IMPL-NEXT: switch (Dir) {
371371
// IMPL-NEXT: case llvm::tdl::Directive::TDLD_dira:
372372
// IMPL-NEXT: return llvm::tdl::Association::None;
373-
// IMPL-NEXT: default:
374-
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
375373
// IMPL-NEXT: } // switch(Dir)
374+
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
376375
// IMPL-NEXT: }
377376
// IMPL-EMPTY:
378377
// IMPL-NEXT: #endif // GEN_DIRECTIVES_IMPL

llvm/test/TableGen/directive2.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,8 @@ def TDL_DirA : Directive<"dira"> {
301301
// IMPL-NEXT: switch (Dir) {
302302
// IMPL-NEXT: case llvm::tdl::Directive::TDLD_dira:
303303
// IMPL-NEXT: return llvm::tdl::Association::Block;
304-
// IMPL-NEXT: default:
305-
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
306304
// IMPL-NEXT: } // switch(Dir)
305+
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
307306
// IMPL-NEXT: }
308307
// IMPL-EMPTY:
309308
// IMPL-NEXT: #endif // GEN_DIRECTIVES_IMPL

0 commit comments

Comments
 (0)