[all-commits] [llvm/llvm-project] 38e148: Fix test that had a check embedded which depended ...

Douglas Yung via All-commits all-commits at lists.llvm.org
Wed Jul 15 02:09:29 PDT 2026


  Branch: refs/heads/release/23.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 38e1487f6b61e326330aa0467ec37b1287deaf69
      https://github.com/llvm/llvm-project/commit/38e1487f6b61e326330aa0467ec37b1287deaf69
  Author: Douglas Yung <douglas.yung at sony.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/test/CodeGen/SystemZ/zos-ppa2.ll

  Log Message:
  -----------
  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)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list