In the POWER9 instruction scheduler, SchedWriteRes for the simple integer instructions are misconfigured to use that of (costly) DFU instructions.
This results in surprisingly long instruction latency estimation and causes misbehavior in some optimizers such as if-conversion.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
There are more changes coming to the scheduler but since this is up on Phabricator already, please go ahead and commit this. Of course, if this changes the behaviour of any test cases that are sensitive to P9 scheduling, please update them.
Comment Actions
I tested with the latest code base again, but no test case was affected by this change.