This change will handle missing store pair opportunity where the first store
instruction stores zero followed by the non-zero store. For example, this change
will convert :
str wzr, [x8] str w1, [x8, #4]
into:
stp wzr, w1, [x8]
Paths
| Differential D18570
[AArch64] Handle missing store pair opportunity ClosedPublic Authored by junbuml on Mar 29 2016, 1:25 PM.
Details Summary This change will handle missing store pair opportunity where the first store str wzr, [x8] str w1, [x8, #4] into: stp wzr, w1, [x8]
Diff Detail Event Timelinejunbuml updated this object. Herald added subscribers: mcrosier, rengolin, aemerson. · View Herald TranscriptMar 29 2016, 1:25 PM mcrosier edited edge metadata. Comment ActionsLGTM, with a few minor nits.
This revision is now accepted and ready to land.Mar 30 2016, 7:56 AM Closed by commit rL265021: [AArch64] Handle missing store pair opportunity (authored by junbuml). · Explain WhyMar 31 2016, 7:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 52081 lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
test/CodeGen/AArch64/arm64-narrow-ldst-merge.ll
|
I tend to add a comment next to boolean arguments (e.g., "/*FindNarrowMerge=*/ true").