[llvm] Update CHECK lines in tests after 14e6f63 added new output causing the tests to fail on multiple bots. (PR #89689)

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 16:57:46 PDT 2024


https://github.com/dyung created https://github.com/llvm/llvm-project/pull/89689

Update the check lines added in #87247 after 14e6f63 updated the output causing the tests to fail.

This should hopefully unbreak the bots failing due to these two tests failing.

>From b63ef7d63ab3ccd736ed618bbcf75a3e85a6bed9 Mon Sep 17 00:00:00 2001
From: Douglas Yung <douglas.yung at sony.com>
Date: Mon, 22 Apr 2024 16:52:34 -0700
Subject: [PATCH] Update CHECK lines in tests after 14e6f63 added new output
 causing the tests to fail on multiple bots.

---
 llvm/test/TableGen/directive1.td | 2 +-
 llvm/test/TableGen/directive2.td | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/TableGen/directive1.td b/llvm/test/TableGen/directive1.td
index 526dcb3c3bf0a9..56bce5bfb89c74 100644
--- a/llvm/test/TableGen/directive1.td
+++ b/llvm/test/TableGen/directive1.td
@@ -370,7 +370,7 @@ def TDL_DirA : Directive<"dira"> {
 // IMPL-EMPTY:
 // IMPL-NEXT:  static_assert(sizeof(llvm::tdl::Directive) == sizeof(int));
 // IMPL-NEXT:  {{.*}} static const llvm::tdl::Directive LeafConstructTable[][2] = {
-// IMPL-NEXT:    llvm::tdl::TDLD_dira, static_cast<llvm::tdl::Directive>(0),
+// IMPL-NEXT:    {llvm::tdl::TDLD_dira, static_cast<llvm::tdl::Directive>(0),},
 // IMPL-NEXT:  };
 // IMPL-EMPTY:
 // IMPL-NEXT:  {{.*}} static auto LeafConstructTableEndDirective = LeafConstructTable + 1;
diff --git a/llvm/test/TableGen/directive2.td b/llvm/test/TableGen/directive2.td
index 9df8a06d3e5172..3c092113593b7b 100644
--- a/llvm/test/TableGen/directive2.td
+++ b/llvm/test/TableGen/directive2.td
@@ -301,7 +301,7 @@ def TDL_DirA : Directive<"dira"> {
 // IMPL-EMPTY:
 // IMPL-NEXT:  static_assert(sizeof(llvm::tdl::Directive) == sizeof(int));
 // IMPL-NEXT:  {{.*}} static const llvm::tdl::Directive LeafConstructTable[][2] = {
-// IMPL-NEXT:    llvm::tdl::TDLD_dira, static_cast<llvm::tdl::Directive>(0),
+// IMPL-NEXT:    {llvm::tdl::TDLD_dira, static_cast<llvm::tdl::Directive>(0),},
 // IMPL-NEXT:  };
 // IMPL-EMPTY:
 // IMPL-NEXT:  {{.*}} static auto LeafConstructTableEndDirective = LeafConstructTable + 1;



More information about the llvm-commits mailing list