[all-commits] [llvm/llvm-project] db0247: AMDGPU: Fix not diagnosing unaligned VGPRs for vsr...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 25 01:43:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db024764c18413a3b2d3cebe2bb06a09eeef507d
      https://github.com/llvm/llvm-project/commit/db024764c18413a3b2d3cebe2bb06a09eeef507d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/remat-vop.mir
    A llvm/test/MachineVerifier/AMDGPU/unsupported-unaligned-vgpr-check-vsrc-operand.mir

  Log Message:
  -----------
  AMDGPU: Fix not diagnosing unaligned VGPRs for vsrc operands (#155104)

This was not checking the alignment requirement for 64-bit
operands which accept inline immediates. Not all custom operand
types were handled in the switch, so round out with explicit
handling of all enum values, and change the default to use
the default checks for unhandled cases.

Fixes #155095



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