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

Diogo N. Sampaio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 06:09:05 PDT 2018


dnsampaio updated this revision to Diff 156473.
dnsampaio marked an inline comment as done.
dnsampaio edited the summary of this revision.
dnsampaio added a comment.

Detect desired pattern from the binary operation using the results.


https://reviews.llvm.org/D49229

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

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


More information about the llvm-commits mailing list