To make sure compile-times don't regress, add an option to restrict the number of instructions considered for sinking as alias analysis can be expensive and for the same reason also skip large blocks.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/CodeGen/AArch64/loop-sink.mir | ||
---|---|---|
1052 ↗ | (On Diff #322940) | Is this expected? Not sure why this is impacted by the patch. Seems the sinking number are just the same as we have same instruction sequence except for the killed flag |
Comment Actions
Thanks for checking. The unrelated change is gone now.
Locally I had this patch applied on top of D94308, which explains that.