[all-commits] [llvm/llvm-project] 318583: [Hexagon] Avoid crash on CONCAT_VECTORS with illeg...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Sep 24 18:05:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3185839bcf6614af28c255e90195f6b1cafee106
https://github.com/llvm/llvm-project/commit/3185839bcf6614af28c255e90195f6b1cafee106
Author: Krzysztof Parzyszek <kparzysz at quicinc.com>
Date: 2020-09-24 (Thu, 24 Sep 2020)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
A llvm/test/CodeGen/Hexagon/autohvx/isel-hvx-concat-truncate.ll
Log Message:
-----------
[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.
More information about the All-commits
mailing list