[all-commits] [llvm/llvm-project] fab925: [LLVM][AArch64] Fix invalid use of AArch64ISD::UZP...
Paul Walker via All-commits
all-commits at lists.llvm.org
Fri Aug 30 03:37:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fab925651685505906416dca48469fd9f69ba39a
https://github.com/llvm/llvm-project/commit/fab925651685505906416dca48469fd9f69ba39a
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-08-30 (Fri, 30 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[LLVM][AArch64] Fix invalid use of AArch64ISD::UZP2 in performConcatVectorsCombine. (#104774)
UZP2 requires both operands to match the result type but the combine tries to replace a truncate by passing the pre-truncated operands directly to an UZP2 with the truncated result type. This patch nop-casts the operands to keep the DAG consistent. There should be no changes to the generated code, which is fine as it.
This patch also enables more target specific getNode() validation for fixed length vector types.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list