[all-commits] [llvm/llvm-project] 9c9013: [AMDGPU] Handle MachineOperandType global address ...

Akhilesh Moorthy via All-commits all-commits at lists.llvm.org
Mon May 5 09:12:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c9013f703f0b5736fc33df05de3fabaab22459e
      https://github.com/llvm/llvm-project/commit/9c9013f703f0b5736fc33df05de3fabaab22459e
  Author: Akhilesh Moorthy <62468417+isakhilesh at users.noreply.github.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    A llvm/test/CodeGen/AMDGPU/swdev504645-global-fold.ll

  Log Message:
  -----------
  [AMDGPU] Handle MachineOperandType global address in SIFoldOperands. (#135424)

This patch handles the global operand type properly, fixing the
bug : Assertion `(isFI() || isCPI() || isTargetIndex() ||
isJTI()) && "Wrong MachineOperand accessor"` failed.

Fixes SWDEV-504645

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>



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