[PATCH] D62828: [DAGCombiner][X86] Teach DAGCombiner to fold (not (neg X)) -> (add X, -1)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 03:42:26 PDT 2019


xbolva00 accepted this revision.
xbolva00 added a comment.

Yes, it seems the more generalized form causes some regressions on Mips (missing folds?).

Anyway, this simpler form is fine.


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

https://reviews.llvm.org/D62828





More information about the llvm-commits mailing list