aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2022-12-12 08:35:43 +0000
committerDavid Green <david.green@arm.com>2022-12-12 08:35:43 +0000
commitfd716925eca2a65c79a4375fb46151816afc1809 (patch)
tree03e9ec468ccb764b8e59787d3bb0b3743da6820c /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent8005332835246c54a4a6b026eede930ed559deb4 (diff)
downloadllvm-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