[all-commits] [llvm/llvm-project] 6a5cb5: [GISel] Fix crash in GlobalISel utils method (#153...

Victor Mustya via All-commits all-commits at lists.llvm.org
Mon Aug 25 12:59:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a5cb5afdc835074bcb25fe7506566ae850459a0
      https://github.com/llvm/llvm-project/commit/6a5cb5afdc835074bcb25fe7506566ae850459a0
  Author: Victor Mustya <victor.mustya at intel.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-ignore-copies-crash.mir

  Log Message:
  -----------
  [GISel] Fix crash in GlobalISel utils method (#153334)

The `getDefSrcRegIgnoringCopies` method in GlobalISel Utils crashed when
the first operand of the input instruction was not a register, e.g.,
the `INLINEASM` instruction has a non-register first operand.

---------

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