annotate llvm/test/CodeGen/AMDGPU/tail-dup-bundle.mir @ 223:5f17cb93ff66 llvm-original

LLVM13 (2021/7/18)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:43:00 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
anatofuz
parents:
diff changeset
2 # RUN: llc -march=amdgcn -run-pass=block-placement -tail-dup-placement-threshold=2 -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 # Check that tail duplication correctly counts instructions in a bundle.
anatofuz
parents:
diff changeset
5 # The bundle below shall not be duplicated.
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 ---
anatofuz
parents:
diff changeset
8 name: tail_dup_bundle
anatofuz
parents:
diff changeset
9 body: |
anatofuz
parents:
diff changeset
10 ; GCN-LABEL: name: tail_dup_bundle
anatofuz
parents:
diff changeset
11 ; GCN: bb.0:
anatofuz
parents:
diff changeset
12 ; GCN: successors: %bb.2(0x80000000)
anatofuz
parents:
diff changeset
13 ; GCN: bb.2:
anatofuz
parents:
diff changeset
14 ; GCN: BUNDLE {
anatofuz
parents:
diff changeset
15 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
16 ; GCN: S_NOP 0
anatofuz
parents:
diff changeset
17 ; GCN: }
anatofuz
parents:
diff changeset
18 ; GCN: S_ENDPGM 0
anatofuz
parents:
diff changeset
19 ; GCN: bb.1:
anatofuz
parents:
diff changeset
20 ; GCN: successors: %bb.2(0x80000000)
anatofuz
parents:
diff changeset
21 ; GCN: S_BRANCH %bb.2
anatofuz
parents:
diff changeset
22 bb.0:
anatofuz
parents:
diff changeset
23 successors: %bb.2(0x80000000)
anatofuz
parents:
diff changeset
24
anatofuz
parents:
diff changeset
25 S_BRANCH %bb.2
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 bb.1:
anatofuz
parents:
diff changeset
28 successors: %bb.2(0x80000000)
anatofuz
parents:
diff changeset
29
anatofuz
parents:
diff changeset
30 bb.2:
anatofuz
parents:
diff changeset
31
anatofuz
parents:
diff changeset
32 BUNDLE {
anatofuz
parents:
diff changeset
33 S_NOP 0
anatofuz
parents:
diff changeset
34 S_NOP 0
anatofuz
parents:
diff changeset
35 }
anatofuz
parents:
diff changeset
36 S_ENDPGM 0
anatofuz
parents:
diff changeset
37
anatofuz
parents:
diff changeset
38 ...