[all-commits] [llvm/llvm-project] c35c44: [AMDGPU] Pre-commit unit test for RP tracking rese...

Lucas Ramirez via All-commits all-commits at lists.llvm.org
Fri May 8 08:09:34 PDT 2026


  Branch: refs/heads/users/lucas-rami/pre-commit-test-gcnrp-semantics
  Home:   https://github.com/llvm/llvm-project
  Commit: c35c4499a80bc97cd36e8fb1ecca282dc5bdfa9f
      https://github.com/llvm/llvm-project/commit/c35c4499a80bc97cd36e8fb1ecca282dc5bdfa9f
  Author: Lucas Ramirez <lucas.rami at proton.me>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M llvm/unittests/Target/AMDGPU/CMakeLists.txt
    A llvm/unittests/Target/AMDGPU/GCNRegPressureTest.cpp

  Log Message:
  -----------
  [AMDGPU] Pre-commit unit test for RP tracking reset/advance behavior

This adds a new AMDGPU unit test file for testing the behavior of
`GCNRPTracker` and its related classes. The two test showcase confusing
return value and behavioral semantics for variants of the advance and
reset functions, which will be clarified in a follow up commit.

This also moves some common test helpers from other AMDGPU unit tests to
the `AMDGPUUnitTests` TU to avoid repetition between unit tests.



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