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

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 14 14:23:57 PDT 2018


dnsampaio updated this revision to Diff 155571.
dnsampaio marked an inline comment as done.
dnsampaio added a comment.

Replaced num_uses by !hasNUsesOfValue as requested.


https://reviews.llvm.org/D48278

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48278.155571.patch
Type: text/x-patch
Size: 13304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180714/57689fae/attachment.bin>


More information about the llvm-commits mailing list