[PATCH] D22114: [InstCombine] extend vector select matching for non-splat constants
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 17:32:18 PDT 2016
eli.friedman added a comment.
The question isn't really what instructions we expect targets to have, but rather which version makes LLVM simpler overall. That said, if we assume almost every vector target has some sort of blend instruction, and therefore almost every target would need to pattern match the shuffle into a select, that would be a reason to prefer the select form, I guess.
http://reviews.llvm.org/D22114
More information about the llvm-commits
mailing list