Ifcvt can replicate instructions as it converts them to be predicated. This stops that from happening at minsize.
Test is new, just showing the differences here for clarity.
Differential D60089
[ARM] Don't replicate instructions in Ifcvt at minsize dmgreen on Apr 1 2019, 12:14 PM. Authored by
Details Ifcvt can replicate instructions as it converts them to be predicated. This stops that from happening at minsize. Test is new, just showing the differences here for clarity.
Diff Detail Event Timeline
|
Maybe explain why this increases codesize in a comment. I guess the issue here is that if a block has multiple predecessors, you essentially have to clone it, then if-convert the clone? (Theoretically, if we if-convert all the predecessors, it could actually save codesize, but I guess that's unlikely to come up in practice.)