There is no need to track dependencies for constant physregs, as they don't change their value no matter in what order you read/write to them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Sure. I took a look at some of the assembly diffs and I'm curious to know if you observed any significant performance gains with the increased scheduling freedom?
Comment Actions
You probably will not see any change in codegen with this patch alone.
However when applying https://reviews.llvm.org/D26111 there are some regressions which get fixed by this patch. And with D26111 I see some smaller improvements in codesize and performance (because we effectively decrease register pressure when replacing with the zero register early).