diff options
author | hanbeom <kese111@gmail.com> | 2025-02-06 19:38:50 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-06 10:38:50 +0000 |
commit | 8c1dbac304d2f3d9e9685c1f4fd8b3e133360893 (patch) | |
tree | 686cbc9b9b46b3452d1edb5ed90e6749a5c8f3db /llvm/unittests/Support/ErrorTest.cpp | |
parent | 4daf30709982fac07c7519032a9586323e276f4b (diff) | |
download | llvm-8c1dbac304d2f3d9e9685c1f4fd8b3e133360893.zip llvm-8c1dbac304d2f3d9e9685c1f4fd8b3e133360893.tar.gz llvm-8c1dbac304d2f3d9e9685c1f4fd8b3e133360893.tar.bz2 |
[VectorCombine] Allow shuffling between vectors the same type but different element sizes (#121216)
`foldInsExtVectorToShuffle` function combines the extract/insert of a vector into a vector through a shuffle. However, we only supported coupling between vectors of the same size.
This commit allows combining extract/insert for vectors of the same type but with different sizes by converting the length of the vectors.
Proof: https://alive2.llvm.org/ce/z/ELNLr7
Fixed https://github.com/llvm/llvm-project/issues/120772
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions