annotate llvm/test/CodeGen/AMDGPU/mesa3d.ll @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -enable-var-scope -check-prefix=GCN %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 ; GCN-LABEL: {{^}}scratch_ps:
anatofuz
parents:
diff changeset
4 ; GCN: s_load_dwordx2 s[4:5], s[0:1], 0x0{{$}}
anatofuz
parents:
diff changeset
5 ; GCN-DAG: s_mov_b32 s6, -1{{$}}
anatofuz
parents:
diff changeset
6 ; GCN-DAG: s_mov_b32 s7, 0xe8f000
anatofuz
parents:
diff changeset
7 ; GCN-DAG: v_mov_b32_e32 [[V:v[0-9]+]], 2
anatofuz
parents:
diff changeset
8 ; GCN: buffer_store_dword [[V]], off, s[4:7], s2 offset:4
anatofuz
parents:
diff changeset
9 define amdgpu_ps void @scratch_ps(i32 addrspace(1)* %out, i32 %in) {
anatofuz
parents:
diff changeset
10 entry:
anatofuz
parents:
diff changeset
11 %alloca = alloca i32, addrspace(5)
anatofuz
parents:
diff changeset
12 store volatile i32 2, i32 addrspace(5)* %alloca
anatofuz
parents:
diff changeset
13 ret void
anatofuz
parents:
diff changeset
14 }