[all-commits] [llvm/llvm-project] ea09a4: [AMDGPU] Assume getDefIgnoringCopies will succeed....

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Oct 19 03:14:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea09a426a94cdd1cdf96cf0d22f16f566aee3916
      https://github.com/llvm/llvm-project/commit/ea09a426a94cdd1cdf96cf0d22f16f566aee3916
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp

  Log Message:
  -----------
  [AMDGPU] Assume getDefIgnoringCopies will succeed. NFC.

getDefIgnoringCopies and getSrcRegIgnoringCopies should not fail on
valid MIR, so don't bother to check for failure.

Differential Revision: https://reviews.llvm.org/D136238




More information about the All-commits mailing list