[PATCH] D51532: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle inverted pattern

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 08:21:49 PDT 2018


spatel added reviewers: efriedma, dmgreen.
spatel added a comment.

That is complicated/magical. :)
It would be good to put an example with fixed constants in the code comments where you do the inversion, so we can better grasp how the transform works with real numbers.
x86 diffs look neutral or better. Adding some more potential AArch64 reviewers to confirm the same on those tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D51532





More information about the llvm-commits mailing list