[all-commits] [llvm/llvm-project] 60a8b2: [AMDGPU] Add MachineVerifier check to detect illeg...

Aditi Medhane via All-commits all-commits at lists.llvm.org
Thu Sep 19 01:28:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60a8b2b1d0842e257e2add6fb1b27cf45699b641
      https://github.com/llvm/llvm-project/commit/60a8b2b1d0842e257e2add6fb1b27cf45699b641
  Author: Aditi Medhane <Aditi.Medhane at amd.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/phi-vgpr-input-moveimm.mir
    M llvm/test/CodeGen/AMDGPU/wqm.mir
    A llvm/test/MachineVerifier/AMDGPU/fix-illegal-vector-copies.mir

  Log Message:
  -----------
  [AMDGPU] Add MachineVerifier check to detect illegal copies from vector register to SGPR (#105494)

Addition of a check in the MachineVerifier to detect and report illegal
vector registers to SGPR copies in the AMDGPU backend, ensuring correct
code generation.
We can enforce this check only after SIFixSGPRCopies pass.
This is half-fix in the pipeline with the help of isSSA MachineFuction
property, the check is happening for passes after phi-node-elimination.



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