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

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 15 11:55:25 PST 2021


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

Rebased.
Added handling of newly added case `(~A & B & C) | ~(A | B) --> (C | ~B) & ~A`.


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
  llvm/test/Transforms/InstCombine/and-xor-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114126.394627.patch
Type: text/x-patch
Size: 76838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211215/9879aefb/attachment.bin>


More information about the llvm-commits mailing list