commit | 30ac940161ef1ca0215428caab954fe426b91e6d | [log] [tgz] |
---|---|---|
author | Sergei Barannikov <barannikov88@gmail.com> | Thu May 25 07:50:54 2023 +0300 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Jun 04 02:47:26 2023 -0700 |
tree | a6e67f345a98f8e64c2d582d2a80cc04b2831822 | |
parent | 3e9aee08806e18d5c94abf280cf56542970d8f11 [diff] |
[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 GitOrigin-RevId: c37e6a269ef3df0cde217feca945edfa8fcf68fe