Created attachment 18775 [details] Reproducer for shufflevec issue in DAGCombine This issue has been seen when compiling for the AMDGPU backend llc -march=amdgcn shufflevec-dagcombine-issue.ll This results in the following assert: Assertion failed: VT.getSizeInBits() == Op.getValueSizeInBits() && "The sizes of the input and result must match in order to perform the " "extend in-register.", file ~\llvm\lib\CodeGen\SelectionDAG\SelectionDAG.cpp, line 1012 This looks like an issue in combineShuffleToVectorExtend
I've got a potential fix for this issue See https://reviews.llvm.org/D35241
rL315307