[Hexagon] Check if register is non-null before calling subregs_inclusive
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: kparzysz Differential Revision: https://reviews.llvm.org/D151406
parent
fbdcd544
Please register or sign in to comment