HomePhabricator

[AMDGPU] Fix ubsan error

Authored by sebastian-ne on Apr 12 2021, 3:10 AM.

Description

[AMDGPU] Fix ubsan error

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

Fixes UBSan error introduced in f9a8c6a0e505.

Details

Committed
sebastian-neApr 12 2021, 3:14 AM
Parents
rG428b17ce7052: [LLDB] Fix buildbots breakage due to TestGuessLanguage.py
Branches
Unknown
Tags
Unknown