Skip to content

Commit 1760927

Browse files
committed
fixup! [ModuloSchedule] Implement modulo variable expansion for pipelining
1 parent 60043c2 commit 1760927

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

llvm/test/CodeGen/AArch64/sms-acceptable-loop3.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# RUN: llc --verify-machineinstrs -mtriple=aarch64 -o - %s -run-pass pipeliner -aarch64-enable-pipeliner -pipeliner-enable-copytophi=0 -debug-only=pipeliner 2>&1 | FileCheck %s
22
# REQUIRES: asserts
33

4-
# UNSUPPORTED: target={{.*}}
54
# Compare and branch instructions are not supported now.
5+
# CHECK: Unable to analyzeLoop, can NOT pipeline Loop
66

7-
# An acceptable loop by pipeliner: TBB == ExitBB, FBB == LoopBB, Compare and branch
8-
# CHECK: Schedule Found? 1
7+
# (if supported) An acceptable loop by pipeliner: TBB == ExitBB, FBB == LoopBB, Compare and branch
8+
# CHECK(if supported): Schedule Found? 1
99

1010
--- |
1111
define dso_local void @func(ptr noalias nocapture noundef writeonly %a, ptr nocapture noundef readonly %b, i32 noundef %n) local_unnamed_addr #0 {

llvm/test/CodeGen/AArch64/sms-acceptable-loop4.mir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# RUN: llc --verify-machineinstrs -mtriple=aarch64 -o - %s -run-pass pipeliner -aarch64-enable-pipeliner -pipeliner-enable-copytophi=0 -debug-only=pipeliner 2>&1 | FileCheck %s
22
# REQUIRES: asserts
33

4-
# UNSUPPORTED: target={{.*}}
54
# Compare and branch instructions are not supported now.
5+
# CHECK: Unable to analyzeLoop, can NOT pipeline Loop
66

7-
# An acceptable loop by pipeliner TBB == LoopBB, FBB == ExitBB, Compare and branch
8-
# CHECK: Schedule Found? 1
7+
# (if supported) An acceptable loop by pipeliner TBB == LoopBB, FBB == ExitBB, Compare and branch
8+
# CHECK(if supported): Schedule Found? 1
99

1010
--- |
1111
define dso_local void @func(ptr noalias nocapture noundef writeonly %a, ptr nocapture noundef readonly %b, i32 noundef %n) local_unnamed_addr #0 {

llvm/test/CodeGen/AArch64/sms-unpipeline-insts2.mir

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# RUN: llc --verify-machineinstrs -mtriple=aarch64 -o - %s -run-pass pipeliner -aarch64-enable-pipeliner -pipeliner-enable-copytophi=0 -debug-only=pipeliner 2>&1 | FileCheck %s
22
# REQUIRES: asserts
33

4-
# UNSUPPORTED: target={{.*}}
54
# Compare and branch instructions are not supported now.
5+
# CHECK: Unable to analyzeLoop, can NOT pipeline Loop
66

7-
# An acceptable loop by pipeliner TBB == LoopBB, FBB == ExitBB, Compare and branch
8-
# CHECK: SU([[SU0:[0-9]+]]): [[V0:%[0-9]+]]:gpr64common = SUBXri [[V1:%[0-9]+]]:gpr64common, 1, 0
9-
# CHECK: Do not pipeline SU([[SU0:[0-9]+]])
7+
# (if supported) Check that instructions for loop control are not pipelined when compare and branch is used.
8+
# CHECK(if supported): SU([[SU0:[0-9]+]]): [[V0:%[0-9]+]]:gpr64common = SUBXri [[V1:%[0-9]+]]:gpr64common, 1, 0
9+
# CHECK(if supported): Do not pipeline SU([[SU0:[0-9]+]])
1010

1111
--- |
1212
define dso_local void @func(ptr noalias nocapture noundef writeonly %a, ptr nocapture noundef readonly %b, i32 noundef %n) local_unnamed_addr #0 {

0 commit comments

Comments
 (0)