[all-commits] [llvm/llvm-project] e87a7b: [update_mir_test_checks] Add missing MIFlags

Fabian Ritter via All-commits all-commits at lists.llvm.org
Tue Jul 22 05:53:48 PDT 2025


  Branch: refs/heads/users/ritter-x2a/07-22-_update_mir_test_checks_add_missing_miflags
  Home:   https://github.com/llvm/llvm-project
  Commit: e87a7b034750aee25a43a03e9684309ee0f344b6
      https://github.com/llvm/llvm-project/commit/e87a7b034750aee25a43a03e9684309ee0f344b6
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-gep-flags.ll
    M llvm/utils/update_mir_test_checks.py

  Log Message:
  -----------
  [update_mir_test_checks] Add missing MIFlags

If the update_mir_test_checks.py script is aware of MIFlags, it can produce
meaningful identifiers in generated FileCheck lines. A few MIFlags that were
introduced more recently have been missing from the script.

Ideally, the MIFlags would be specified in a single place and automatically
made known to the script to avoid this divergence, but for now adding a comment
pointing to the script at the place where the MIFlags are printed seems like a
reasonable trade-off.

This PR only regenerates check lines for a single test as an example of the
effect; other affected tests are not regenerated for now to avoid unnecessary
test churn.



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