[PATCH] D114126: [PatternMatch] Create match method to track uses complexity. WIP.

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 11:32:38 PST 2021


rampitec updated this revision to Diff 388278.
rampitec added a comment.

Use SFINAE to only add getUseComplexity() method to matchers which really need it. This will be much less code than previously anticipated.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114126/new/

https://reviews.llvm.org/D114126

Files:
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114126.388278.patch
Type: text/x-patch
Size: 4366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211118/e8e7a116/attachment.bin>


More information about the llvm-commits mailing list