diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-06 17:04:13 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-06-06 17:04:13 +0000 |
commit | 842c7792aaa8e137933a47beb3c0da11057277db (patch) | |
tree | 52e0c53ec05f93a3ae498a00e93ebbe0c9484be0 /llvm/lib/Analysis/CodeMetrics.cpp | |
parent | 7ccfdad7ab7b749f08333a0d4eb6716227bf8ab7 (diff) | |
download | bcm5719-llvm-842c7792aaa8e137933a47beb3c0da11057277db.tar.gz bcm5719-llvm-842c7792aaa8e137933a47beb3c0da11057277db.zip |
[DAGCombine] MergeConsecutiveStores - improve non-temporal load\store handling (PR42123)
This patch is the first step towards ensuring MergeConsecutiveStores correctly handles non-temporal loads\stores:
1 - When merging load\stores we must ensure that they all have the same non-temporal flag. This is unlikely to occur, but can in strange cases where we're storing at the end of one page and the beginning of another.
2 - The merged load\store node must retain the non-temporal flag.
Differential Revision: https://reviews.llvm.org/D62910
llvm-svn: 362723
Diffstat (limited to 'llvm/lib/Analysis/CodeMetrics.cpp')
0 files changed, 0 insertions, 0 deletions