[all-commits] [llvm/llvm-project] e808f8: [AMDGPU] GCNRegPressurePrinter pass to print GCNRe...

Valery Pykhtin via All-commits all-commits at lists.llvm.org
Wed Nov 1 15:01:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e808f8a61683ccd9da88f722135ff59ddcdb5aef
      https://github.com/llvm/llvm-project/commit/e808f8a61683ccd9da88f722135ff59ddcdb5aef
  Author: Valery Pykhtin <valery.pykhtin at gmail.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
    M llvm/lib/Target/AMDGPU/GCNRegPressure.h
    A llvm/test/CodeGen/AMDGPU/regpressure_printer.mir

  Log Message:
  -----------
  [AMDGPU] GCNRegPressurePrinter pass to print GCNRegPressure values for testing. (#70031)

Using GCNDownwardRPTracker or GCNUpwardRPTracker the pass collects register pressure values for a function and prints these values next to instructions. Output can be used to generate Filecheck rules in mir tests.




More information about the All-commits mailing list