[PATCH] D122013: [InstCombine] Fold abs of known negative operand when source is sub

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 07:49:34 PDT 2022


spatel added a comment.

I committed the tests with baseline CHECK lines:
01a2ba5dfbee <https://reviews.llvm.org/rG01a2ba5dfbeea4d41b94df131a5f1ab5d8448f79>
...and one more test:
c4d74a93f65c <https://reviews.llvm.org/rGc4d74a93f65c07db4d80e199291e0da378305731>

Please rebase and test with Alive2 that we have correct behavior when the 2nd parameter to abs is 'false'.


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

https://reviews.llvm.org/D122013



More information about the llvm-commits mailing list