[all-commits] [llvm/llvm-project] 7a8e65: [AMDGPU] Fix ubsan error

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Mon Apr 12 03:15:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a8e65dd3dfa72069471a316844b7a6c2ef89e84
      https://github.com/llvm/llvm-project/commit/7a8e65dd3dfa72069471a316844b7a6c2ef89e84
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

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

  Log Message:
  -----------
  [AMDGPU] Fix ubsan error

The RegScavenger can be null sometimes, so a pointer is needed.

Fixes UBSan error introduced in f9a8c6a0e505.




More information about the All-commits mailing list