[PATCH] D51044: [PatternMatch] Use generic One, Two, ThreeOps_match classes (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 09:37:07 PDT 2018


fhahn created this revision.
fhahn added reviewers: SjoerdMeijer, dneilson, spatel, arsenm.
Herald added a subscriber: wdng.

Currently we have a few duplicated matcher classes, which all do pretty
much the same thing. This patch introduces generic
One,Tow,ThreeOps_match classes which take the opcode the match as
template argument.


https://reviews.llvm.org/D51044

Files:
  include/llvm/IR/PatternMatch.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51044.161743.patch
Type: text/x-patch
Size: 8681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180821/6f65f1ef/attachment.bin>


More information about the llvm-commits mailing list