Jonas Paulsson
Jonas Paulsson
https://reviews.llvm.org/D31651
ping. any idea anyone?
Thanks. Fixed in r299213.
> I notice that this code to check profitable chains does not check if the constant is foldable and probably should: > > // Incrementing by zero or some constant...
I have experimented for a while with this now, and would like some advice regarding legality checks: Ideally, it would be nice to split a PHI node and make a...
Now down to ~ 20 cases left. bin/llc -mtriple=s390x-linux-gnu -mcpu=z13 tc_badloopreg_18.ll -tail-dup-placement=false Two reloads in loop, even though R0D, R1D and R6D are available.
[reduced testcase](https://user-images.githubusercontent.com/55128014/143755469-f966d067-1c23-43c5-a237-414c16c78199.gz)
[reduced testcase](https://user-images.githubusercontent.com/55128014/143755470-d8bf6edb-11af-47e9-9140-7f5290171403.gz) We are now down to ~ 50 known cases on SystemZ / SPEC. Next test case does spilling three times in loop while there are many free regs...
[reduced testcase](https://user-images.githubusercontent.com/55128014/143755471-26c22a5e-dbbf-4cde-8a51-b90cba621280.gz) Found a case of an inner loop (depth 2) which is reloading a function argument into %r1. This is unnecessary, since %r6-%r8 are unused: .LBB1_6: # %while.body40 #...
[experimental patch to enable subreg liveness](https://user-images.githubusercontent.com/55128014/143755472-205cd35f-9206-4c41-a675-02716dd7bfba.gz)