This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Perform load/store extended reg folding with optsize
ClosedPublic

Authored by paquette on Feb 10 2021, 2:13 PM.

Details

Summary

GlobalISel was only doing this with minsize. SDAG does this with optsize.

(See: SelectionDAG::shouldOptForSize())

This is a 0.3% code size improvement for CTMark at -Os.

(Best: 1.1% improvements on lencod + pairlocalalign)

Diff Detail

Event Timeline

paquette created this revision.Feb 10 2021, 2:13 PM
paquette requested review of this revision.Feb 10 2021, 2:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2021, 2:13 PM
aemerson accepted this revision.Feb 10 2021, 2:40 PM
This revision is now accepted and ready to land.Feb 10 2021, 2:40 PM