aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@quicinc.com>2020-09-24 19:00:15 -0500
committerKrzysztof Parzyszek <kparzysz@quicinc.com>2020-09-24 20:05:23 -0500
commit3185839bcf6614af28c255e90195f6b1cafee106 (patch)
tree082b4a65f57d1c27e1917e621a1460fd5a7eadc7 /clang/lib/Frontend/CompilerInvocation.cpp
parent1ca6bd261e0aebdd73e3af98fb97c444c2a339cd (diff)
downloadllvm-3185839bcf6614af28c255e90195f6b1cafee106.zip
llvm-3185839bcf6614af28c255e90195f6b1cafee106.tar.gz
llvm-3185839bcf6614af28c255e90195f6b1cafee106.tar.bz2
[Hexagon] Avoid crash on CONCAT_VECTORS with illegal element types
Legal vector element types may not be legal as scalar types. When CONCAT_VECTORS is converted to BUILD_VECTOR, the individual vector elements become standalone operands to the build operation. If they have illegal (scalar) types, they need to be made legal. In doing so, the case of TRUNCATE was not handled, causing an assertion to fail.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions