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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/CodeGen/AArch64/concat_vector-truncate-combine.ll | ||
---|---|---|
53 | It's a bit of a pity that we can't properly express a concat_vector directly. I tried creating a test using vector.insert in the hope that would lead to a concat_vector, without success. Can you maybe add a comment explaining why this test relates to a 'concat_vector' issue ? |
It's a bit of a pity that we can't properly express a concat_vector directly. I tried creating a test using vector.insert in the hope that would lead to a concat_vector, without success.
Can you maybe add a comment explaining why this test relates to a 'concat_vector' issue ?