2018-07-05 20:02:07 +08:00
|
|
|
# RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefix=GCN -check-prefix=VI %s
|
|
|
|
# RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck -check-prefix=GCN -check-prefix=GFX9 %s
|
|
|
|
|
|
|
|
# GCN-LABEL: name: hazard_buffer_store_v_interp
|
|
|
|
# GCN: bb.0.entry:
|
|
|
|
# GCN-NEXT: BUFFER_STORE_DWORDX4_OFFSET_exact
|
|
|
|
# GCN-NEXT: S_NOP
|
|
|
|
# GCN-NEXT: V_INTERP_P1_F32
|
|
|
|
|
|
|
|
name: hazard_buffer_store_v_interp
|
|
|
|
body: |
|
|
|
|
bb.0.entry:
|
|
|
|
liveins: $sgpr0, $sgpr1, $sgpr2, $sgpr3, $vgpr0, $vgpr1, $vgpr7, $vgpr8, $vgpr9, $vgpr10
|
|
|
|
|
2019-05-01 06:08:23 +08:00
|
|
|
BUFFER_STORE_DWORDX4_OFFSET_exact killed $vgpr7_vgpr8_vgpr9_vgpr10, $sgpr4_sgpr5_sgpr6_sgpr7, 0, 96, 0, 0, 0, 0, implicit $exec
|
2018-07-05 20:02:07 +08:00
|
|
|
$vgpr7 = V_INTERP_P1_F32 $vgpr0, 0, 0, implicit $m0, implicit $exec
|
[AMDGPU] Add support for immediate operand for S_ENDPGM
Summary:
Add support for immediate operand in S_ENDPGM
Change-Id: I0c56a076a10980f719fb2a8f16407e9c301013f6
Reviewers: alexshap
Subscribers: qcolombet, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, eraman, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59213
llvm-svn: 355902
2019-03-12 17:52:58 +08:00
|
|
|
S_ENDPGM 0
|
2018-07-05 20:02:07 +08:00
|
|
|
|
|
|
|
...
|