[PATCH] D39726: [X86] Attempt to match multiple binary reduction ops at once. NFCI
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 7 04:00:50 PST 2017
RKSimon created this revision.
matchBinOpReduction currently matches against a single opcode, but we already have a case where we try to match against AND/OR and I'll be shortly adding another case for SMAX/SMIN/UMAX/UMIN.
This NFCI patch alters matchBinOpReduction to try and pattern match against any of the provided list of candidate bin ops at once to save time.
Repository:
rL LLVM
https://reviews.llvm.org/D39726
Files:
lib/Target/X86/X86ISelLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39726.121869.patch
Type: text/x-patch
Size: 6620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171107/c7add268/attachment.bin>
More information about the llvm-commits
mailing list