[PATCH] D39604: [CodeGen] DAG combine AND nodes to load leaves
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 3 10:19:15 PDT 2017
samparker created this revision.
Herald added a subscriber: javed.absar.
Search from AND nodes to find whether they can be propagated back to loads, so that the AND and load can be combined into a narrow load. We search through OR, XOR and other AND nodes and all the leaves are required to be loads or constants.
https://reviews.llvm.org/D39604
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/and-load-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39604.121508.patch
Type: text/x-patch
Size: 9901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/4f7c7793/attachment.bin>
More information about the llvm-commits
mailing list