[PATCH] D42948: [SelectionDAG] Support some SimplifySetCC cases for comparing against vector splats of constants.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 18 07:38:35 PST 2018


RKSimon added a comment.

In https://reviews.llvm.org/D42948#1007581, @spatel wrote:

> We might have to be more careful with vector ISAs because they tend to leave out the full set of predicates. Ie, do we have to check for legal-or-custom if this transform can happen late, or can we assume that all predicates must be handled for all data types?


Do you think we should override isCondCodeLegal?


Repository:
  rL LLVM

https://reviews.llvm.org/D42948





More information about the llvm-commits mailing list