[PATCH] D49229: [InstCombine] Fold redundant masking operations of shifted value
Diogo N. Sampaio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 25 04:53:28 PDT 2018
dnsampaio updated this revision to Diff 157228.
dnsampaio added a comment.
Relaxed conditions for which the transformation is applied.
Added more tests for ashr.
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.157228.patch
Type: text/x-patch
Size: 7539 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180725/ca386112/attachment.bin>
More information about the llvm-commits
mailing list