[llvm-dev] DAGCombiner folds (xor (and x, y), y) -> (and (not x), y). Can I do the reverse for a target?

Assem Bsoul via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 23 08:32:07 PDT 2016


I am not sure what is the format for matching this (and (xor x, -1), y) and
generating 2 machine instructions? can you please help!

Thanks,
Assem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160623/3cf56fef/attachment.html>


More information about the llvm-dev mailing list