Jonas Paulsson

Results comments of Jonas Paulsson

[reduced testcase which crashes](https://user-images.githubusercontent.com/55128014/143755473-177cc75b-8a4c-4aa6-9163-c3387f650f04.gz) I found that tc_badloopreg_11.ll (latest test case) indeed got remedied by enabling subreg liveness. I then wanted to see how much of an effect that would...

[reduced testcase with reload in loop](https://user-images.githubusercontent.com/55128014/143755474-703815f4-a4bf-4059-9d7f-a8079144e062.gz) New test-case with an unnecessary reload inside loop. %vreg6 is the function argument, which is stored unmodified in the loop in each iteration. Regalloc...

[reduced testcase](https://user-images.githubusercontent.com/55128014/143755475-e9f61412-f8c7-469e-b85f-bba752eac99c.gz) bin/llc -mtriple=s390x-linux-gnu -mcpu=z13 -o out.s tc_badloopreg_10.ll A single block loop (%vector.body) spills and reloads, yet %R2D seems unused in the block.

[reduced testcase (this time the .ll file)](https://user-images.githubusercontent.com/55128014/143755476-58430232-ee77-42a8-90c4-9e8c8d9c8fc2.gz)

New test cases: tc_badreload.ll: Tiny loop with a reload from loop-invariant stack-slot: .LBB0_1: # %for.end8280 # =>This Inner Loop Header: Depth=1 ar %r4, %r5 ahi %r3, 1 lt %r0, 164(%r15)...

[test case with regsplit patch applied (both spills and reloads)](https://user-images.githubusercontent.com/55128014/143755477-065c1cce-302d-4608-950a-a4e02d25b724.gz)

[test case with regsplit patch applied](https://user-images.githubusercontent.com/55128014/143755478-0dddcc3e-47d5-4446-8a17-5a29297632f5.gz)

[reduced testcase with reload in loop](https://user-images.githubusercontent.com/55128014/143755479-a234b859-a32b-4cd7-be0e-85ec8085a0f2.gz) Thanks for help on number 5. I have now fixed the callee saved regs list (only on my experimental branch so far) to include...

[reduced testcase](https://user-images.githubusercontent.com/55128014/143755480-dec6f0a2-45c8-471c-aa3d-8ae241ea064b.gz) Next test case with two reloads in loop: .LBB0_4: # %cond.end171 # =>This Inner Loop Header: Depth=1 chi %r5, 0 lgr %r11, %r0 locghie %r11, 0 lg %r11,...

Comment to last test case (3rd June): .LBB0_4: # %for.body46 # Parent Loop BB0_3 Depth=1 # => This Inner Loop Header: Depth=2 lg %r0, 192(%r15) # 16-byte Folded Reload lg...