-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIE2P] Fix modeling of resource conflicts in the scheduling model
1 parent
9b6736e
commit c458323
Showing
2 changed files
with
816 additions
and
777 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
llvm/test/CodeGen/AIE/aie2p/schedule/resource/ld_fifo_wa_port.mir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py | ||
# | ||
# This file is licensed under the Apache License v2.0 with LLVM Exceptions. | ||
# See https://llvm.org/LICENSE.txt for license information. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
# | ||
# (c) Copyright 2025 Advanced Micro Devices, Inc. or its affiliates | ||
# RUN: llc -march=aie2p -run-pass=postmisched %s -o - | FileCheck %s | ||
|
||
# The test checks LD_FIFO_WA_PORT resource which is accessed | ||
# by VLDA_FILL_512 at cycle 7 and by VMOV_alu_mv_mv_x at cycle 2. | ||
--- | ||
name: E7_VLDA_FILL_512_E2_VMOV_x | ||
alignment: 16 | ||
tracksRegLiveness: true | ||
body: | | ||
bb.0.entry: | ||
liveins: $p1, $lf0, $r25, $x9 | ||
; CHECK-LABEL: name: E7_VLDA_FILL_512_E2_VMOV_x | ||
; CHECK: liveins: $p1, $lf0, $r25, $x9 | ||
; CHECK-NEXT: {{ $}} | ||
; CHECK-NEXT: $p1, $lf0, $r25 = VLDA_FILL_512 killed $p1, killed $lf0, killed $r25 | ||
; CHECK-NEXT: NOP | ||
; CHECK-NEXT: NOP | ||
; CHECK-NEXT: NOP | ||
; CHECK-NEXT: $lfl1 = VMOV_alu_mv_mv_x killed $x9 | ||
; CHECK-NEXT: NOP | ||
; CHECK-NEXT: NOP | ||
$p1, $lf0, $r25 = VLDA_FILL_512 $p1, $lf0, $r25 | ||
$lfl1 = VMOV_alu_mv_mv_x $x9 | ||
... |