[PATCH] D48278: [SelectionDAG]Reduce masked data movement chains and memory access widths pt2
Diogo N. Sampaio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 18 05:34:01 PDT 2018
dnsampaio created this revision.
dnsampaio added reviewers: samparker, SjoerdMeijer, javed.absar.
Herald added a subscriber: llvm-commits.
Allow to reduce redundant shift masks.
For example:
x1 = x & 0xAB00
x2 = (x >> 8) & 0xAB
can be reduced to:
x1 = x & 0xAB00
x2 = x1 >> 8
Repository:
rL LLVM
https://reviews.llvm.org/D48278
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/2018_05_29_FoldRedundantMask.ll
test/CodeGen/X86/pr32329.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48278.151700.patch
Type: text/x-patch
Size: 12775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180618/f2a1c0ea/attachment.bin>
More information about the llvm-commits
mailing list