[PATCH] D48278: [SelectionDAG] Fold redundant masking operations of shifted value

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 4 09:00:34 PDT 2018


dnsampaio updated this revision to Diff 154125.
dnsampaio marked 6 inline comments as done.
dnsampaio retitled this revision from "[SelectionDAG]Reduce masked data movement chains and memory access widths pt2" to "[SelectionDAG] Fold redundant masking operations of shifted value".
dnsampaio edited the summary of this revision.
dnsampaio added a comment.

Replaced tests as to be not dependent in the load width reduction.
Added 1 positive test per case, and 2 negative tests, one where one mask is not a constant and other the shifted amount is not constant.


https://reviews.llvm.org/D48278

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/FoldRedundantShiftedMasking.ll
  test/CodeGen/X86/pr32329.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48278.154125.patch
Type: text/x-patch
Size: 11056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180704/640f438c/attachment.bin>


More information about the llvm-commits mailing list