aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2015-10-08 17:46:59 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2015-10-08 17:46:59 +0000
commitf4d14f781f0923fba574a6a6c9b4e32552a71d68 (patch)
tree2b812b7c9f0b74dc39a921345a18a425742849b1 /clang/lib/CodeGen/CodeGenModule.cpp
parent53e758b09c8b777a74dcb7a080de56548e59d628 (diff)
downloadllvm-f4d14f781f0923fba574a6a6c9b4e32552a71d68.zip
llvm-f4d14f781f0923fba574a6a6c9b4e32552a71d68.tar.gz
llvm-f4d14f781f0923fba574a6a6c9b4e32552a71d68.tar.bz2
[SystemZ] Fix another assertion failure in tryBuildVectorShuffle
This fixes yet another scenario where tryBuildVectorShuffle would attempt to create a BUILD_VECTOR node with an invalid combination of types. This can happen if the incoming BUILD_VECTOR has elements of a type different from the vector element type, which is allowed in certain cases as long as they are all the same type. When one of these elements is used in the residual vector, and UNDEF elements are added to fill up the residual vector, those UNDEFs then have to use the type of the original element, not the vector element type, or else the resulting BUILD_VECTOR will have an invalid type combination. llvm-svn: 249706
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions