[PATCH] D85055: [InstCombine] Fold abs(-x) -> abs(x)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 1 01:09:02 PDT 2020


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LG. I was wondering if we can use any of our more powerful negation machinery here, but I don't think so, because it would end up looping infinitely.


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

https://reviews.llvm.org/D85055



More information about the llvm-commits mailing list