[all-commits] [llvm/llvm-project] c37e6a: [Hexagon] Check if register is non-null before cal...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Sun Jun 4 02:40:27 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c37e6a269ef3df0cde217feca945edfa8fcf68fe
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp

  Log Message:
  [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

More information about the All-commits mailing list