aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2024-06-17 12:26:04 +0100
committerGitHub <noreply@github.com>2024-06-17 12:26:04 +0100
commitf06d96995a3e937ce125fd48efd1026256868b99 (patch)
tree836b9153cabd342c85465cdebf427c2abc664beb /flang/lib/Frontend/CompilerInvocation.cpp
parent1ba8ed0cd7d03ed9b70aaf32b3d8e9205ef95ef2 (diff)
downloadllvm-f06d96995a3e937ce125fd48efd1026256868b99.zip
llvm-f06d96995a3e937ce125fd48efd1026256868b99.tar.gz
llvm-f06d96995a3e937ce125fd48efd1026256868b99.tar.bz2
[LLVM][DAGCombiner] Extend coverage for insert_subv(undef, extract_subv(A, 0), 0) (#95242)
There is an existing combine to remove the need for extract_subv that requires matching vector types (all fixed or all scalable). The combine doesn't need this restriction and so I've changed it to use ValueType's "knownBits??" interface that supports mixed vector types. In doing so we also need extra guards to prevent invalid operations (e.g. extracting a scalable vector from a fixed length vector).
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions