[PatternMatch] don't match a scalar select of bool vectors as a logical-and or logical-or
Most folds based on these matchers already check to make sure the condition type is the same as the select type, and it seems unlikely that a fold would want to handle a scalar-select-of-vectors pattern (there are no regression tests for it). This is a preliminary step for fixing #issue 58552. The fold(s) responsible for that crash (D101807, D101375) don't use the matchers yet, but they probably should. Differential Revision: https://reviews.llvm.org/D137170
Loading
Please sign in to comment