[PATCH] D30471: [DAG] Relax conditions under stores of loaded values can be merged
Nirav Dave via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 13:15:49 PST 2017
niravd created this revision.
Allow consecutive stores who's values come from consecutive loads to
be merged in the prescense of other users of the load. This may cause
as many as N redundant loads with the guarantee of merging N stores
which should almost always be a relative win.
Fixes PR32086.
https://reviews.llvm.org/D30471
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/merge_store_duplicated_loads.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30471.90077.patch
Type: text/x-patch
Size: 8135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/377d9e19/attachment.bin>
More information about the llvm-commits
mailing list