Nirav Dave
7d8f3e0c93
[ARM][AArch64][DAG] Reenable post-legalize store merge
...
Reenable post-legalize stores with constant merging computation and
corresponding test case.
* Properly truncate store merge constants
* Disable merging of truncated stores floating points
* Ensure merges of constant stores into a single vector are
constructed from legal elements.
Reviewers: eastig, efriedma
Reviewed By: eastig
Subscribers: spatel, rengolin, aemerson, javed.absar, kristof.beyls, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D40701
llvm-svn: 319899
2017-12-06 15:30:13 +00:00
Nirav Dave
839ff79a8d
[DAG][AArch64] Disable post-legalization store
...
Disable post-legalization store for AArch64 backend which is causing
errors out-of-tree.
llvm-svn: 319607
2017-12-02 04:01:26 +00:00
Nirav Dave
db77e57ea8
[DAG] Do MergeConsecutiveStores again before Instruction Selection
...
Summary:
Now that store-merge is only generates type-safe stores, do a second
pass just before instruction selection to allow lowered intrinsics to
be merged as well.
Reviewers: jyknight, hfinkel, RKSimon, efriedma, rnk, jmolloy
Subscribers: javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D33675
llvm-svn: 319036
2017-11-27 15:28:15 +00:00
Chad Rosier
811e76dbcd
[AArch64] Add test to show narrow zero store merging is disabled with strict align. NFC.
...
llvm-svn: 286617
2016-11-11 19:25:48 +00:00
Chad Rosier
10c7aaaee9
[AArch64] Enable merging of adjacent zero stores for all subtargets.
...
This optimization merges adjacent zero stores into a wider store.
e.g.,
strh wzr, [x0]
strh wzr, [x0, #2 ]
; becomes
str wzr, [x0]
e.g.,
str wzr, [x0]
str wzr, [x0, #4 ]
; becomes
str xzr, [x0]
Previously, this was only enabled for Kryo and Cortex-A57.
Differential Revision: https://reviews.llvm.org/D26396
llvm-svn: 286592
2016-11-11 14:10:12 +00:00
Chad Rosier
c16824d217
Remove unnecessary check prefix directives. NFC.
...
llvm-svn: 286453
2016-11-10 14:28:44 +00:00
Chad Rosier
583a307e17
[AArch64] Remove dead check prefixes after r286110. NFC.
...
llvm-svn: 286174
2016-11-07 23:13:59 +00:00
Chad Rosier
d8447a7d30
[AArch64] Rename test to reflect changes after r286110. NFC.
...
llvm-svn: 286173
2016-11-07 23:13:55 +00:00