https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/209584
>From 38e1487f6b61e326330aa0467ec37b1287deaf69 Mon Sep 17 00:00:00 2001 From: Douglas Yung <[email protected]> Date: Tue, 14 Jul 2026 12:47:31 -0400 Subject: [PATCH] Fix test that had a check embedded which depended on the current LLVM version number. (#209530) When the test was refactored, it embedded the current LLVM version number in one of the check strings so that when I bumped the LLVM version to 24, the test failed since it was expecting 23 but the compiler was now generating 23. Fix this issue by changing the check to a regex so it doesn't need updating after every LLVM version change. (cherry picked from commit 1a072b5f008321f22e61f744b7474fe52f0ee48c) --- llvm/test/CodeGen/SystemZ/zos-ppa2.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/SystemZ/zos-ppa2.ll b/llvm/test/CodeGen/SystemZ/zos-ppa2.ll index a4c1d50df5543..b1d8d47356b97 100644 --- a/llvm/test/CodeGen/SystemZ/zos-ppa2.ll +++ b/llvm/test/CodeGen/SystemZ/zos-ppa2.ll @@ -21,9 +21,10 @@ ; CHECK: DC XL2'0000' ; CHECK: L#DVS DS 0H ; CHECK: DC XL14'F1F9F7F0F0F1F0F1F0F0F0F0F0F0' -; CHECK: DC XL6'F2F3F0F0F0F0' +; CHECK: DC XL6'{{((F[[:digit:]]){6})}}' ; CHECK: DC XL2'0000' + ; CHECK: C_@@QPPA2 CATTR ALIGN(3),FILL(0),NOTEXECUTABLE,READONLY,RMODE(64),PART(. ; CHECK: .&ppa2) ; CHECK: .&ppa2 XATTR LINKAGE(OS),REFERENCE(DATA),SCOPE(SECTION) _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
