diff options
author | Paul Walker <paul.walker@arm.com> | 2024-06-17 12:26:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 12:26:04 +0100 |
commit | f06d96995a3e937ce125fd48efd1026256868b99 (patch) | |
tree | 836b9153cabd342c85465cdebf427c2abc664beb /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1ba8ed0cd7d03ed9b70aaf32b3d8e9205ef95ef2 (diff) | |
download | llvm-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