annotate llvm/test/CodeGen/AMDGPU/insert-skips-ignored-insts.mir @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 2e18cbf3894f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass si-insert-skips -amdgpu-skip-threshold-legacy=2 %s -o - | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 ---
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 # CHECK-LABEL: name: no_count_mask_branch_pseudo
anatofuz
parents:
diff changeset
6 # CHECK: $vgpr1 = V_MOV_B32_e32 7, implicit $exec
anatofuz
parents:
diff changeset
7 # CHECK-NEXT: SI_MASK_BRANCH
anatofuz
parents:
diff changeset
8 # CHECK-NOT: S_CBRANCH_EXECZ
anatofuz
parents:
diff changeset
9 name: no_count_mask_branch_pseudo
anatofuz
parents:
diff changeset
10 body: |
anatofuz
parents:
diff changeset
11 bb.0:
anatofuz
parents:
diff changeset
12 successors: %bb.1
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 $vgpr1 = V_MOV_B32_e32 7, implicit $exec
anatofuz
parents:
diff changeset
15 SI_MASK_BRANCH %bb.2, implicit $exec
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 bb.1:
anatofuz
parents:
diff changeset
18 successors: %bb.2
anatofuz
parents:
diff changeset
19 $vgpr0 = V_MOV_B32_e32 0, implicit $exec
anatofuz
parents:
diff changeset
20 SI_MASK_BRANCH %bb.3, implicit $exec
anatofuz
parents:
diff changeset
21
anatofuz
parents:
diff changeset
22 bb.2:
anatofuz
parents:
diff changeset
23 $vgpr0 = V_MOV_B32_e32 1, implicit $exec
anatofuz
parents:
diff changeset
24
anatofuz
parents:
diff changeset
25 bb.3:
anatofuz
parents:
diff changeset
26 S_ENDPGM 0
anatofuz
parents:
diff changeset
27 ...
anatofuz
parents:
diff changeset
28
anatofuz
parents:
diff changeset
29 ---
anatofuz
parents:
diff changeset
30
anatofuz
parents:
diff changeset
31 # CHECK-LABEL: name: no_count_dbg_value
anatofuz
parents:
diff changeset
32 # CHECK: $vgpr1 = V_MOV_B32_e32 7, implicit $exec
anatofuz
parents:
diff changeset
33 # CHECK-NEXT: SI_MASK_BRANCH
anatofuz
parents:
diff changeset
34 # CHECK-NOT: S_CBRANCH_EXECZ
anatofuz
parents:
diff changeset
35 name: no_count_dbg_value
anatofuz
parents:
diff changeset
36 body: |
anatofuz
parents:
diff changeset
37 bb.0:
anatofuz
parents:
diff changeset
38 successors: %bb.1
anatofuz
parents:
diff changeset
39
anatofuz
parents:
diff changeset
40 $vgpr1 = V_MOV_B32_e32 7, implicit $exec
anatofuz
parents:
diff changeset
41 SI_MASK_BRANCH %bb.2, implicit $exec
anatofuz
parents:
diff changeset
42
anatofuz
parents:
diff changeset
43 bb.1:
anatofuz
parents:
diff changeset
44 successors: %bb.2
anatofuz
parents:
diff changeset
45 $vgpr0 = V_MOV_B32_e32 0, implicit $exec
anatofuz
parents:
diff changeset
46 DBG_VALUE
anatofuz
parents:
diff changeset
47
anatofuz
parents:
diff changeset
48 bb.2:
anatofuz
parents:
diff changeset
49 $vgpr0 = V_MOV_B32_e32 1, implicit $exec
anatofuz
parents:
diff changeset
50
anatofuz
parents:
diff changeset
51 bb.3:
anatofuz
parents:
diff changeset
52 S_ENDPGM 0
anatofuz
parents:
diff changeset
53 ...
anatofuz
parents:
diff changeset
54