This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Specify Tail Duplication Size Override
AbandonedPublic

Authored by NickGuy on Jan 28 2021, 9:57 AM.

Diff Detail

Event Timeline

NickGuy created this revision.Jan 28 2021, 9:57 AM

This sounds OK to me, but 6 is quite a big jump up from 2. Is is possible to make the normal threshold 2 or 3, and the aggressive threshold 6?

Oh. It looks like there is already an aggressive limit. TailDuplicator is either used by itself or in MachineBlockPlacement. MachineBlockPlacement already sets the limit to 4 when optimizing aggressively. Would it work for your usecase to alter the value there based on the target instead?

NickGuy abandoned this revision.Feb 2 2021, 8:01 AM

Abandoning this and combining it with D95631.