Skip to content

Commit 8993c93

Browse files
authored
[AArch64] Compare and branch set twice in Neoverse V1/N1 sched (NFC) (#170498)
The regex instruction match is unnecessary, these are already wired up to the instructions via WriteBr.
1 parent 38994f4 commit 8993c93

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

llvm/lib/Target/AArch64/AArch64SchedNeoverseN1.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,6 @@ def : SchedAlias<WriteBrReg, N1Write_1c_1B>;
286286
// Branch and link, register
287287
def : InstRW<[N1Write_1c_1B_1I], (instrs BL, BLR)>;
288288

289-
// Compare and branch
290-
def : InstRW<[N1Write_1c_1B], (instregex "^[CT]BN?Z[XW]$")>;
291-
292289

293290
// Arithmetic and Logical Instructions
294291
// -----------------------------------------------------------------------------

llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,6 @@ def : SchedAlias<WriteBrReg, V1Write_1c_1B>;
592592
// Branch and link, register
593593
def : InstRW<[V1Write_1c_1B_1S], (instrs BL, BLR)>;
594594

595-
// Compare and branch
596-
def : InstRW<[V1Write_1c_1B], (instregex "^[CT]BN?Z[XW]$")>;
597-
598595

599596
// Arithmetic and Logical Instructions
600597
// -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)