[all-commits] [llvm/llvm-project] ed389c: [CodeGen][ARM] Add regression tests for #202263 (#...

Aochang Liu via All-commits all-commits at lists.llvm.org
Wed Jul 29 05:30:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed389ca093797baab0bcc95ffd2b6ca41741c40d
      https://github.com/llvm/llvm-project/commit/ed389ca093797baab0bcc95ffd2b6ca41741c40d
  Author: Aochang Liu <102237385+HelloWorldU at users.noreply.github.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    A llvm/test/CodeGen/ARM/regcoalesce-undef-copy-subreg-redef.ll
    A llvm/test/CodeGen/ARM/regcoalesce-undef-copy-subreg-redef.mir

  Log Message:
  -----------
  [CodeGen][ARM] Add regression tests for #202263 (#202599)

The underlying issue—RegisterCoalescer eliminating an undef COPY and
leaving a partial subregister redef that reads a value that no longer
exists—was fixed in #204039.

This PR adds the regression coverage originally developed alongside the
fix attempt, so the pattern remains covered:

- an end-to-end IR test that checks the generated assembly with
FileCheck;
- a focused single-pass `-run-pass=register-coalescer` MIR test using
`-verify-coalescing`, which reproduces the "Instruction is reading
nonexistent value" verifier error from #202263 when #204039 is reverted,
and passes with the fix applied.

Fixes #202263



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