Summary :
- Rename isSmallTypeLdMerge() to isNarrowLoad().
- Rename NumSmallTypeMerged to NumNarrowTypePromoted.
- Use Subtarget defined as a member variable.
Paths
| Differential D14828
[AArch64] Refactoring aarch64-ldst-opt. NCF ClosedPublic Authored by junbuml on Nov 19 2015, 9:58 AM.
Details
Diff Detail Event Timelinejunbuml updated this object. mcrosier edited edge metadata. Comment ActionsLGTM with a few nits.
This revision is now accepted and ready to land.Nov 19 2015, 10:19 AM
Revision Contents
Diff 40671 lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
|
Currently, this is only applicable to loads, correct? I'd be in favor of
STATISTIC(NumNarrowLoadsPromoted, "Number of narrow loads promoted");
When your next patch for zero stores lands you can add an equivalent stat for stores.