Enable default outlining when the function has the minsize attribute and we're targeting an m-class core. @yroux I don't want to step on your toes about this, but I would like this to be enabled by default for our downstream testing, so please say if you have any major concerns!
Details
Diff Detail
Unit Tests
Event Timeline
Hi Sam,
no worries, I thought the optim would have to bake a bit longer before being bundled into Oz, but I'm happy you propose to do it and think it will be better tested with that change.
So I'm OK with your proposal and the patch, but while working on the next Oulining mode I found a latent issue with the liveness information calcuted by the MachineOutliner, in a nutshell if-conversion can introduce a predicated BX_RET in the middle of a BB and the current implementation doesn't see that LR is not dead and needs to be saved/restored when trying to outline a chunk before this BX_RET. I'm testing a fix for that and will submit it as soon as possible, so maybe wait for it before committing it.
Thanks, I'm hoping that doing it just for M-class at the moment won't disrupt too many people if there are some bug to fix.
so maybe wait for it before committing it.
Sure!
clang-format: please reformat the code