[PATCH] D34278: [InstCombine] Recognize and simplify three way comparison idioms

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 06:57:23 PDT 2017


anna added a comment.

Changed wrt Philip's original patch:

1. Adapted to get working with current API  (obviously ;) )
2. Addressed review comments by Sanjoy.
3. CHECK pattern on tests were modified -- not a semantic modification, just syntactic, because we generate `tmp` compares now, not hardcoded compares.


https://reviews.llvm.org/D34278





More information about the llvm-commits mailing list