[AArch64] Fix N2 SchedModel element-to-element INS latencies
authorSjoerd Meijer <smeijer@nvidia.com>
Tue, 21 Feb 2023 16:00:52 +0000 (16:00 +0000)
committerSjoerd Meijer <smeijer@nvidia.com>
Wed, 22 Feb 2023 10:55:55 +0000 (10:55 +0000)
commit314e431406de6e1518836f304a0a0e469c670a71
tree1c1d883c044e37a3737a82558be12e72d399a410
parentc6f3ed7d36939d69509fe42143f3e7d537e53be9
[AArch64] Fix N2 SchedModel element-to-element INS latencies

The instruction regexp "^INSv" for the insert gen-reg-to-element was also
matching the element-to-element instruction, which only has a latency of 2 and
not 5, so we were getting that wrong.

Differential Revision: https://reviews.llvm.org/D144508
llvm/lib/Target/AArch64/AArch64SchedNeoverseN2.td
llvm/test/tools/llvm-mca/AArch64/Neoverse/N2-neon-instructions.s