[PATCH] D59174: [DAGCombine] Fold (x & ~y) | y patterns
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 17 06:33:17 PDT 2019
nikic updated this revision to Diff 191017.
nikic added a comment.
Add visitORCommutative() function to reduce code duplication when matching commuting patterns.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59174/new/
https://reviews.llvm.org/D59174
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/sat-add.ll
llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll
llvm/test/CodeGen/AArch64/unfold-masked-merge-vector-variablemask-const.ll
llvm/test/CodeGen/X86/unfold-masked-merge-scalar-variablemask.ll
llvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask-const.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59174.191017.patch
Type: text/x-patch
Size: 14476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190317/e60c3860/attachment.bin>
More information about the llvm-commits
mailing list