This makes sure to correctly register the loop info of the child loops of unroll and jammed loops. It re-uses some code from the unroller for registering subloops.
Note that I just found D73129 again whilst writing this summary. This is a smaller version of the same thing. My understanding is that the plan is to change unroll and jam to jam the inner loop? (although I thought some of that was already done?). This fixes the problem in a minimal way until then.
nit: remove this line as the checks don't look like autogenerated by utils/update_test_checks.py.