aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-11-01 14:35:56 -0400
committerSanjay Patel <spatel@rotateright.com>2022-11-01 14:50:18 -0400
commit72ba2489f2c7b0a911bd23e50aaaca6eae9a183e (patch)
tree5d106ce2d41c06d771ab019954d56245110eb788 /clang/lib/Frontend/CompilerInvocation.cpp
parentab4c22e2b735c839c667e08be303f7f8cef3ccf6 (diff)
downloadllvm-72ba2489f2c7b0a911bd23e50aaaca6eae9a183e.zip
llvm-72ba2489f2c7b0a911bd23e50aaaca6eae9a183e.tar.gz
llvm-72ba2489f2c7b0a911bd23e50aaaca6eae9a183e.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions