[llvm] [AArch64] Use `ZIP1/2` over `INS` for vector concat (PR #142427)
Eduardo Moscoso Rubino via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 02:48:46 PDT 2026
emrubino wrote:
Hi
Couldn’t you just restrain it for the case the user specifies the
Cortex-A55 as a target? I think the pattern “begs” for a zip here and it is
the best choice for most cores and it should, by default, emit the zip (but
that is just my opinion). I don’t know about the A55 but is this a target
in which we could/should switch ALL zip’s then? Wouldn’t it belong on a
target dependent pass that does the substitution?
Eduardo Moscoso Rubino
"Whenever an honest man discovers that he is mistaken, he will either cease
to be mistaken, or he will cease to be honest" - Unknown author
On Wed, Sep 23, 2026 at 10:35 Csanád Hajdú ***@***.***> wrote:
> *Il-Capitano* left a comment (llvm/llvm-project#142427)
> <https://github.com/llvm/llvm-project/pull/142427#issuecomment-5791674906>
>
> I stopped working on this because I couldn't come up with a good solution
> that handles both Cortex-A55 and bigger cores. I think ideally we would
> have a post-RA pass that converts zip1 vA.2d vA.2d vB.2d to mov vA.d[1],
> vB.d[0], but it doesn't fit into the current pass pipeline neatly.
>
> Feel free to pick this up if you think it's valuable for you.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/llvm/llvm-project/pull/142427?email_source=notifications&email_token=AAP3HPJU3OXKVWMV4VBZTYL5QODOLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNZZGE3DONBZGA3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-5791674906>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAP3HPOIVWTOB6H6KOXBKBL5QODOLAVCNFSNUABEKJSXA33TNF2G64TZHM3TKOBSGE2DGMR3JFZXG5LFHMZTCMJQHA4DMNBUGWQXMAQ>
> .
> Triage notifications, keep track of coding agent tasks and review pull
> requests on the go with GitHub Mobile for iOS
> <https://github.com/notifications/mobile/ios/AAP3HPMQPIM5B5YAATQ3L4D5QODOLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNZZGE3DONBZGA3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJKTGN5XXIZLSL5UW64Y>
> and Android
> <https://github.com/notifications/mobile/android/AAP3HPM7BSEMQFDDGPNWHOL5QODOLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKNZZGE3DONBZGA3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
> Download it today!
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
https://github.com/llvm/llvm-project/pull/142427
More information about the llvm-commits
mailing list