aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Parallel.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2017-05-10 19:53:41 +0000
committerNirav Dave <niravd@google.com>2017-05-10 19:53:41 +0000
commita38c049fc5c7db8e48c5f57122f62a8d62ea467b (patch)
treef53bd3be9f986d98742c0d89f3fc5c3d30aa7219 /llvm/lib/Support/Parallel.cpp
parentf69a7c306bd81d189b0d9441af311dd52ea3dd36 (diff)
downloadllvm-a38c049fc5c7db8e48c5f57122f62a8d62ea467b.zip
llvm-a38c049fc5c7db8e48c5f57122f62a8d62ea467b.tar.gz
llvm-a38c049fc5c7db8e48c5f57122f62a8d62ea467b.tar.bz2
[SDAG] Relax conditions under stores of loaded values can be merged
Summary: Allow consecutive stores whose values come from consecutive loads to merged in the presense of other uses of the loads. Previously this was disallowed as in general the merged load cannot be shared with the other uses. Merging N stores into 1 may cause as many as N redundant loads. However in the context of caching this should have neglible affect on memory pressure and reduce instruction count making it almost always a win. Fixes PR32086. Reviewers: spatel, jyknight, andreadb, hfinkel, efriedma Reviewed By: efriedma Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30471 llvm-svn: 302712
Diffstat (limited to 'llvm/lib/Support/Parallel.cpp')
0 files changed, 0 insertions, 0 deletions