[PATCH] D49229: [InstCombine] Fold redundant masking operations of shifted value

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 03:28:14 PDT 2018


dnsampaio updated this revision to Diff 155642.
dnsampaio marked 2 inline comments as done.
dnsampaio added a comment.

Using hasNUses() instead of numUses() ==


https://reviews.llvm.org/D49229

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  test/Transforms/InstCombine/FoldRedundantShiftedMasks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49229.155642.patch
Type: text/x-patch
Size: 7150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/b626f632/attachment.bin>


More information about the llvm-commits mailing list