annotate llvm/test/CodeGen/AMDGPU/insert-skips-ignored-insts.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 79ff65ed7e25
children 1f2b6ac9f198
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass si-pre-emit-peephole -amdgpu-skip-threshold=3 %s -o - | FileCheck %s
150
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 ---
anatofuz
parents:
diff changeset
4
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
5 # FIXME: RemoveShortExecBranches should not count dbg_value instructions.
150
anatofuz
parents:
diff changeset
6 # CHECK-LABEL: name: no_count_dbg_value
anatofuz
parents:
diff changeset
7 # CHECK: $vgpr1 = V_MOV_B32_e32 7, implicit $exec
anatofuz
parents:
diff changeset
8 # CHECK-NOT: S_CBRANCH_EXECZ
anatofuz
parents:
diff changeset
9 name: no_count_dbg_value
anatofuz
parents:
diff changeset
10 body: |
anatofuz
parents:
diff changeset
11 bb.0:
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
12 successors: %bb.1, %bb.2
150
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 $vgpr1 = V_MOV_B32_e32 7, implicit $exec
221
79ff65ed7e25 LLVM12 Original
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
15 S_CBRANCH_EXECZ %bb.2, implicit $exec
150
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 DBG_VALUE
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