HomePhabricator

[AArch64][GlobalISel] Enable memcpy family combines on minsize functions

Authored by paquette on May 10 2021, 2:06 PM.

Description

[AArch64][GlobalISel] Enable memcpy family combines on minsize functions

The combines in tryCombineMemCpyFamily have heuristics (e.g.
TLI.getMaxStoresPerMemset) which consider size. So, theoretically, enabling
these combines on minsize functions shouldn't be harmful.

With this enabled we save 0.9% geomean on CTMark at -Oz, and 5.1% on Bullet.
There are no code size regressions.

Differential Revision: https://reviews.llvm.org/D102198

Details

Committed
paquetteMay 10 2021, 3:25 PM
Differential Revision
D102198: [AArch64][GlobalISel] Enable memcpy family combines on minsize functions
Parents
rGa0fed635fe17: Pre-commit test case for D101970
Branches
Unknown
Tags
Unknown