[PATCH] D86383: [GlobalISel] Fold xor(cmp(pred, _, _), 1) -> cmp(inverse(pred), _, _)

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 06:44:50 PDT 2020


foad added a comment.

In D86383#2241544 <https://reviews.llvm.org/D86383#2241544>, @foad wrote:

> So... is there any chance of extending this patch to be able to invert a whole tree of comparisons combined with ANDs and ORs?

I've had a go at this in D86709 <https://reviews.llvm.org/D86709>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86383



More information about the llvm-commits mailing list