[all-commits] [llvm/llvm-project] a5a600: [AArch64] Fix schedmodel pre/post-index loads and ...

Sjoerd Meijer via All-commits all-commits at lists.llvm.org
Mon Sep 4 03:09:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5a600898863336173a0fba5426e35fb8d18d18d
      https://github.com/llvm/llvm-project/commit/a5a600898863336173a0fba5426e35fb8d18d18d
  Author: Sjoerd Meijer <smeijer at nvidia.com>
  Date:   2023-09-04 (Mon, 04 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
    A llvm/test/tools/llvm-mca/AArch64/Neoverse/V2-writeback.s

  Log Message:
  -----------
  [AArch64] Fix schedmodel pre/post-index loads and stores for Neoverse V2

Fix the operand description: the update was in the wrong place. As a result the
latency of the update was modelled incorrectly, it wasn't available as early as
it should. This was visible in llvm-mca timeline views.

This fixes the problem for the Neoverse V2, but the problem also affects the
other Neoverse cores.

Patch by: Ricardo Jesus

Differential Revision: https://reviews.llvm.org/D159254




More information about the All-commits mailing list