aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-05-09 08:55:36 +0100
committerGitHub <noreply@github.com>2025-05-09 08:55:36 +0100
commitfff12fbdb9a20d353cc578076232dcb3f5c60586 (patch)
tree052b842318494152e249b45a100b9e2f937231a9 /clang/lib/CodeGen/CodeGenModule.cpp
parentb0979b8c65d76cc1897e97b9ad091d8d99abdd18 (diff)
downloadllvm-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