[all-commits] [llvm/llvm-project] f131c8: [AMDGPU] Use CFG in LIRP tests (#226260)

ilia-cher via All-commits all-commits at lists.llvm.org
Fri Sep 25 01:32:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f131c8c21397e19c439070070348c17cc3ca2112
      https://github.com/llvm/llvm-project/commit/f131c8c21397e19c439070070348c17cc3ca2112
  Author: ilia-cher <30845429+ilia-cher at users.noreply.github.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/lirp.mir

  Log Message:
  -----------
  [AMDGPU] Use CFG in LIRP tests (#226260)

LIRP tests (llvm/test/CodeGen/AMDGPU/lirp.mir) use live intervals with
gaps and redefinitions.
With added -verify-machineinstrs, current test examples trigger machine
code check failure ("Multiple connected components in live interval").
This PR updates the tests to use CFG (loops with loop-carried vregs)
similar to the real world use cases, to fix the verification, and also
simplifies the tests a bit (using implifit defs and kills).

Test:
```
ninja -C build
ninja -C build check-llvm
./build/bin/llvm-lit -v llvm/test/CodeGen/AMDGPU/lirp.mir
```



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