[all-commits] [llvm/llvm-project] 84364b: [CodeGen][AArch64] Bail out in performConcatVector...
david-arm via All-commits
all-commits at lists.llvm.org
Mon Nov 29 06:26:35 PST 2021
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-11-29 (Mon, 29 Nov 2021)
[CodeGen][AArch64] Bail out in performConcatVectorsCombine for scalable vectors
I tried to exercise the existing combine patterns in performConcatVectorsCombine
for scalable vectors and at the moment it doesn't seem possible. Parts of
the code currently assume we're dealing with fixed-width vectors with calls
to getVectorNumElements(), therefore I've decided to simply bail out early
for scalable vectors.
Added a test here to show that we don't crash when attempting to combine
truncate + concat:
Differential Revision: https://reviews.llvm.org/D114600
More information about the All-commits