diff options
author | David Green <david.green@arm.com> | 2025-05-09 08:55:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-09 08:55:36 +0100 |
commit | fff12fbdb9a20d353cc578076232dcb3f5c60586 (patch) | |
tree | 052b842318494152e249b45a100b9e2f937231a9 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b0979b8c65d76cc1897e97b9ad091d8d99abdd18 (diff) | |
download | llvm-fff12fbdb9a20d353cc578076232dcb3f5c60586.zip llvm-fff12fbdb9a20d353cc578076232dcb3f5c60586.tar.gz llvm-fff12fbdb9a20d353cc578076232dcb3f5c60586.tar.bz2 |
[VectorCombine] Fix the type used in foldShuffleOfIntrinsics Cost. (#138419)
The shuffle needn't be twice the original number of vector elements, so
the intermediate type used between the shuffle and the intrinsic should
use the ShuffleDstTy number of elements.
I found this when looking at shuffle costs and do not have test where it
alters the output, but have added some cases where the shuffle output is
not twice the size of the input.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions