[all-commits] [llvm/llvm-project] 930315: [AMDGPU] Fix isSGPRReg for special registers

Carl Ritson via All-commits all-commits at lists.llvm.org
Sun Sep 18 16:50:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 930315f6aa587ac962183708844eb2390d5ba55e
      https://github.com/llvm/llvm-project/commit/930315f6aa587ac962183708844eb2390d5ba55e
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Fix isSGPRReg for special registers

Special registers, e.g. MODE, do not have register classes so
will cause null pointer exception if passed to isSGPRReg.

Reviewed By: arsenm

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




More information about the All-commits mailing list