diff options
author | David Green <david.green@arm.com> | 2022-12-12 08:35:43 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-12-12 08:35:43 +0000 |
commit | fd716925eca2a65c79a4375fb46151816afc1809 (patch) | |
tree | 03e9ec468ccb764b8e59787d3bb0b3743da6820c /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 8005332835246c54a4a6b026eede930ed559deb4 (diff) | |
download | llvm-fd716925eca2a65c79a4375fb46151816afc1809.zip llvm-fd716925eca2a65c79a4375fb46151816afc1809.tar.gz llvm-fd716925eca2a65c79a4375fb46151816afc1809.tar.bz2 |
[DAGCombine] Fold Splat(bitcast(buildvector(x,..))) to splat(x)
This adds a fold which teaches the backend to fold
splat(bitcast(buildvector(x,..))) or
splat(bitcast(scalar_to_vector(x))) to a single splat.
This only handles lane 0 splats, which are only valid under LE, and
needs to be a little careful with the types it creates for the new
buildvector.
Differential Revision: https://reviews.llvm.org/D139611
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions