Files
clang-p2996/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
Sergei Barannikov 74204138f4 [AMDGPU] Check if register is non-null before calling isSubRegisterEq (NFCI)
D151036 adds an assertions that prohibits iterating over sub- and
super-registers of a null register. This is already the case when
iterating over register units of a null register, and worked by
accident for sub- and super-registers.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D151289
2023-05-24 10:32:07 +03:00

69 KiB