[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / AMDGPU / power-sched-no-instr-sunit.mir
blob66bd4c163c669a8da2cf7248ab18c030094e9897
1 # RUN: llc -march=amdgcn -mcpu=gfx908 %s -run-pass=post-RA-sched -o - | FileCheck -check-prefix=GCN %s
3 # GCN-LABEL: name: test
4 # GCN: V_MFMA_F32_32X32X1F32
5 # GCN: S_BARRIER
6 # GCN: S_NOP 0
7 # GCN: V_ACCVGPR_READ_B32
8 # GCN: BUFFER_STORE_DWORD_OFFEN
9 ---
10 name:            test
11 body:             |
12   bb.0.entry:
14     $sgpr6 = S_MOV_B32 $sgpr5
15     $sgpr10_sgpr11 = S_MOV_B64 $sgpr2_sgpr3, implicit-def $sgpr8_sgpr9_sgpr10_sgpr11, implicit $sgpr0_sgpr1_sgpr2_sgpr3
16     $sgpr8_sgpr9 = S_MOV_B64 $sgpr0_sgpr1, implicit killed $sgpr0_sgpr1_sgpr2_sgpr3
17     S_BARRIER
18     $agpr0_agpr1_agpr2_agpr3_agpr4_agpr5_agpr6_agpr7_agpr8_agpr9_agpr10_agpr11_agpr12_agpr13_agpr14_agpr15_agpr16_agpr17_agpr18_agpr19_agpr20_agpr21_agpr22_agpr23_agpr24_agpr25_agpr26_agpr27_agpr28_agpr29_agpr30_agpr31 = V_MFMA_F32_32X32X1F32 undef $vgpr0, undef $vgpr0, 0, 0, 0, 2, implicit $exec
19     $vgpr0 = V_ACCVGPR_READ_B32 $agpr31, implicit $exec
20     BUFFER_STORE_DWORD_OFFEN killed $vgpr0, undef $vgpr0, $sgpr8_sgpr9_sgpr10_sgpr11, $sgpr6, 0, 0, 0, 0, 0, 0, implicit $exec
22 ...