[PATCH] D42817: [X86] Add support creating KORTEST/KTEST from icmp+bitcast+or/and

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 2 09:56:39 PST 2019


craig.topper added a comment.

I think this should be abandoned. We do use the C flag from KORTEST for all ones comparisons after r324577. OR+KORTEST is folded after r324580.

The one thing I can see is missing is that we don't use KTEST for an AND+bitcast+compare_with_zero. That's tracked by PR20703 after the update I just made to it.


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

https://reviews.llvm.org/D42817





More information about the llvm-commits mailing list