Skip to content

Commit

Permalink
Fix failing TableGen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kparzysz committed Mar 6, 2024
1 parent aeaa11a commit 064c2e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions llvm/test/TableGen/directive1.td
Expand Up @@ -370,9 +370,8 @@ def TDL_DirA : Directive<"dira"> {
// IMPL-NEXT: switch (Dir) {
// IMPL-NEXT: case llvm::tdl::Directive::TDLD_dira:
// IMPL-NEXT: return llvm::tdl::Association::None;
// IMPL-NEXT: default:
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
// IMPL-NEXT: } // switch(Dir)
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
// IMPL-NEXT: }
// IMPL-EMPTY:
// IMPL-NEXT: #endif // GEN_DIRECTIVES_IMPL
3 changes: 1 addition & 2 deletions llvm/test/TableGen/directive2.td
Expand Up @@ -301,9 +301,8 @@ def TDL_DirA : Directive<"dira"> {
// IMPL-NEXT: switch (Dir) {
// IMPL-NEXT: case llvm::tdl::Directive::TDLD_dira:
// IMPL-NEXT: return llvm::tdl::Association::Block;
// IMPL-NEXT: default:
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
// IMPL-NEXT: } // switch(Dir)
// IMPL-NEXT: llvm_unreachable("Unexpected directive");
// IMPL-NEXT: }
// IMPL-EMPTY:
// IMPL-NEXT: #endif // GEN_DIRECTIVES_IMPL

0 comments on commit 064c2e7

Please sign in to comment.