Home
last modified time | relevance | path

Searched refs:GCN (Results 1 – 25 of 74) sorted by relevance

123

/external/llvm/test/CodeGen/AMDGPU/
Dhalf.ll1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-p…
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
6 ; GCN-LABEL: {{^}}load_f16_arg:
7 ; GCN: s_load_dword [[ARG:s[0-9]+]]
8 ; GCN: v_cvt_f16_f32_e32 [[CVT:v[0-9]+]], [[ARG]]
9 ; GCN: buffer_store_short [[CVT]]
15 ; GCN-LABEL: {{^}}load_v2f16_arg:
16 ; GCN-DAG: buffer_load_ushort [[V0:v[0-9]+]], s{{\[[0-9]+:[0-9]+\]}}, 0 offset:44
17 ; GCN-DAG: buffer_load_ushort [[V1:v[0-9]+]], s{{\[[0-9]+:[0-9]+\]}}, 0 offset:46
18 ; GCN-DAG: buffer_store_short [[V0]], s{{\[[0-9]+:[0-9]+\]}}, 0{{$}}
[all …]
Dsdivrem64.ll1 …SI -verify-machineinstrs < %s | FileCheck --check-prefix=SI --check-prefix=GCN --check-prefix=FUNC…
2 …ga -verify-machineinstrs < %s | FileCheck --check-prefix=VI --check-prefix=GCN --check-prefix=FUNC…
39 ;GCN: v_bfe_u32
40 ;GCN: v_bfe_u32
41 ;GCN: v_bfe_u32
42 ;GCN: v_bfe_u32
43 ;GCN: v_bfe_u32
44 ;GCN: v_bfe_u32
45 ;GCN: v_bfe_u32
46 ;GCN: v_bfe_u32
[all …]
Dudivrem64.ll1 …SI -verify-machineinstrs < %s | FileCheck --check-prefix=SI --check-prefix=GCN --check-prefix=FUNC…
2 …ga -verify-machineinstrs < %s | FileCheck --check-prefix=VI --check-prefix=GCN --check-prefix=FUNC…
39 ;GCN: s_bfe_u32
40 ;GCN: s_bfe_u32
41 ;GCN: s_bfe_u32
42 ;GCN: s_bfe_u32
43 ;GCN: s_bfe_u32
44 ;GCN: s_bfe_u32
45 ;GCN: s_bfe_u32
46 ;GCN: s_bfe_u32
[all …]
Duse-sgpr-multiple-times.ll1 …-march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN %s
2 …rch=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN %s
10 ; GCN-LABEL: {{^}}test_sgpr_use_twice_binop:
11 ; GCN: s_load_dword [[SGPR:s[0-9]+]],
12 ; GCN: v_add_f32_e64 [[RESULT:v[0-9]+]], [[SGPR]], [[SGPR]]
13 ; GCN: buffer_store_dword [[RESULT]]
20 ; GCN-LABEL: {{^}}test_sgpr_use_three_ternary_op:
21 ; GCN: s_load_dword [[SGPR:s[0-9]+]],
22 ; GCN: v_fma_f32 [[RESULT:v[0-9]+]], [[SGPR]], [[SGPR]], [[SGPR]]
23 ; GCN: buffer_store_dword [[RESULT]]
[all …]
Dsalu-to-valu.ll1 ; RUN: llc -march=amdgcn -mcpu=tahiti -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -che…
2 ; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -ch…
14 ; GCN-LABEL: {{^}}mubuf:
17 ; GCN-NOT: s_mov_b64 s[{{[0-9]+:[0-9]+}}], v
21 ; GCN: buffer_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}], s[{{[0-9]+:[0-9]+}}], 0 addr64
22 ; GCN: buffer_load_ubyte v{{[0-9]+}}, v[{{[0-9]+:[0-9]+}}], s[{{[0-9]+:[0-9]+}}], 0 addr64
52 ; GCN-LABEL: {{^}}smrd_valu:
53 ; GCN: buffer_load_dword [[OUT:v[0-9]+]]
54 ; GCN: buffer_store_dword [[OUT]]
79 ; GCN-LABEL: {{^}}smrd_valu2:
[all …]
Dsetcc-opt.ll1 …u=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=FUNC …
2 …onga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN -check-prefix=FUNC …
6 ; GCN-NOT: v_cmp
7 ; GCN: v_cmp_ne_i32_e32 vcc,
8 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
9 ; GCN-NEXT:buffer_store_byte [[RESULT]]
10 ; GCN-NEXT: s_endpgm
23 ; GCN-NOT: v_cmp
24 ; GCN: v_cmp_ne_i32_e32 vcc,
25 ; GCN-NEXT: v_cndmask_b32_e64 [[RESULT:v[0-9]+]], 0, 1, vcc
[all …]
Dctpop.ll1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-p…
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
12 ; GCN: s_load_dword [[SVAL:s[0-9]+]],
13 ; GCN: s_bcnt1_i32_b32 [[SRESULT:s[0-9]+]], [[SVAL]]
14 ; GCN: v_mov_b32_e32 [[VRESULT:v[0-9]+]], [[SRESULT]]
15 ; GCN: buffer_store_dword [[VRESULT]],
16 ; GCN: s_endpgm
27 ; GCN: buffer_load_dword [[VAL:v[0-9]+]],
28 ; GCN: v_bcnt_u32_b32_e64 [[RESULT:v[0-9]+]], [[VAL]], 0
29 ; GCN: buffer_store_dword [[RESULT]],
[all …]
Dmerge-stores.ll1 …-verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-NOAA %s
2 …-verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-NOAA %s
4 …combiner-alias-analysis < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-AA %s
5 …combiner-alias-analysis < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=GCN-AA %s
14 ; GCN-LABEL: {{^}}merge_global_store_2_constants_i8:
15 ; GCN: buffer_store_byte
16 ; GCN: buffer_store_byte
17 ; GCN: s_endpgm
26 ; GCN-LABEL: {{^}}merge_global_store_2_constants_i8_natural_align:
27 ; GCN: buffer_store_byte
[all …]
Dlocal-atomics64.ll1 …=SI -verify-machineinstrs < %s | FileCheck -strict-whitespace -check-prefix=SI -check-prefix=GCN %s
2 …nga -verify-machineinstrs < %s | FileCheck -strict-whitespace -check-prefix=VI -check-prefix=GCN %s
5 ; GCN: ds_wrxchg_rtn_b64
6 ; GCN: s_endpgm
14 ; GCN: ds_wrxchg_rtn_b64 {{.*}} offset:32
15 ; GCN: s_endpgm
24 ; GCN: ds_add_rtn_u64
25 ; GCN: s_endpgm
33 ; GCN: v_mov_b32_e32 v[[LOVDATA:[0-9]+]], 9
34 ; GCN: v_mov_b32_e32 v[[HIVDATA:[0-9]+]], 0
[all …]
Dlocal-atomics.ll1 …u=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=FUNC …
2 …re -verify-machineinstrs < %s | FileCheck -check-prefix=CIVI -check-prefix=GCN -check-prefix=FUNC …
3 …ga -verify-machineinstrs < %s | FileCheck -check-prefix=CIVI -check-prefix=GCN -check-prefix=FUNC …
8 ; GCN: v_mov_b32_e32 [[DATA:v[0-9]+]], 4
9 ; GCN: s_load_dword [[SPTR:s[0-9]+]],
10 ; GCN: v_mov_b32_e32 [[VPTR:v[0-9]+]], [[SPTR]]
11 ; GCN: ds_wrxchg_rtn_b32 [[RESULT:v[0-9]+]], [[VPTR]], [[DATA]]
12 ; GCN: buffer_store_dword [[RESULT]],
13 ; GCN: s_endpgm
22 ; GCN: ds_wrxchg_rtn_b32 v{{[0-9]+}}, v{{[0-9]+}}, v{{[0-9]+}} offset:16
[all …]
Dds-sub-offset.ll1 ; RUN: llc -march=amdgcn -mcpu=bonaire -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -ch…
8 ; GCN-LABEL: {{^}}write_ds_sub0_offset0_global:
9 ; GCN: v_lshlrev_b32_e32 [[SHL:v[0-9]+]], 2, v0
10 ; GCN: v_sub_i32_e32 [[BASEPTR:v[0-9]+]], vcc, 0, [[SHL]]
11 ; GCN: v_mov_b32_e32 [[VAL:v[0-9]+]], 0x7b
12 ; GCN: ds_write_b32 [[BASEPTR]], [[VAL]] offset:12
23 ; GCN-LABEL: {{^}}add_x_shl_neg_to_sub_max_offset:
24 ; GCN-DAG: v_lshlrev_b32_e32 [[SCALED:v[0-9]+]], 2, v0
25 ; GCN-DAG: v_sub_i32_e32 [[NEG:v[0-9]+]], vcc, 0, [[SCALED]]
26 ; GCN-DAG: v_mov_b32_e32 [[K:v[0-9]+]], 13
[all …]
Dctpop64.ll1 …u=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=FUNC …
2 …onga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN -check-prefix=FUNC …
13 ; GCN: s_bcnt1_i32_b64 [[SRESULT:s[0-9]+]], [[SVAL]]
14 ; GCN: v_mov_b32_e32 [[VRESULT:v[0-9]+]], [[SRESULT]]
15 ; GCN: buffer_store_dword [[VRESULT]],
16 ; GCN: s_endpgm
25 ; GCN: buffer_load_dwordx2 v{{\[}}[[LOVAL:[0-9]+]]:[[HIVAL:[0-9]+]]{{\]}},
26 ; GCN: v_bcnt_u32_b32_e64 [[MIDRESULT:v[0-9]+]], v[[LOVAL]], 0
29 ; GCN: buffer_store_dword [[RESULT]],
30 ; GCN: s_endpgm
[all …]
Dwork-item-intrinsics.ll1 …nstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=SI-NOHSA -check-prefix=GCN
2 … FileCheck -check-prefix=VI -check-prefix=VI-NOHSA -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
3 …veri -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=HSA -…
4 …rizo -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN -check-prefix=HSA -…
28 ; GCN-NOHSA: s_load_dword [[VAL:s[0-9]+]], s[0:1], 0
29 ; GCN-NOHSA: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
30 ; GCN-NOHSA: buffer_store_dword [[VVAL]]
45 ; GCN-NOHSA: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
46 ; GCN-NOHSA: buffer_store_dword [[VVAL]]
60 ; GCN-NOHSA: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
[all …]
Dfrem.ll1 …n -mcpu=SI -enable-misched < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=FUNC …
2 …pu=bonaire -enable-misched < %s | FileCheck -check-prefix=CI -check-prefix=GCN -check-prefix=FUNC …
3 …mcpu=tonga -enable-misched < %s | FileCheck -check-prefix=CI -check-prefix=GCN -check-prefix=FUNC …
6 ; GCN-DAG: buffer_load_dword [[X:v[0-9]+]], {{.*$}}
7 ; GCN-DAG: buffer_load_dword [[Y:v[0-9]+]], {{.*}} offset:16
8 ; GCN-DAG: v_cmp
9 ; GCN-DAG: v_mul_f32
10 ; GCN: v_rcp_f32_e32
11 ; GCN: v_mul_f32_e32
12 ; GCN: v_mul_f32_e32
[all …]
Dfmul-2-combine-multi-use.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN %s
8 ; GCN-LABEL: {{^}}multiple_fadd_use_test:
9 ; GCN: v_max_legacy_f32_e64 [[A16:v[0-9]+]],
10 ; GCN: v_add_f32_e32 [[A17:v[0-9]+]], [[A16]], [[A16]]
11 ; GCN: v_mul_f32_e32 [[A18:v[0-9]+]], [[A17]], [[A17]]
12 ; GCN: v_mad_f32 [[A20:v[0-9]+]], -[[A18]], [[A17]], 1.0
13 ; GCN: buffer_store_dword [[A20]]
29 ; GCN-LABEL: {{^}}multiple_use_fadd_fmac
30 ; GCN-DAG: v_add_f32_e64 [[MUL2:v[0-9]+]], [[X:s[0-9]+]], s{{[0-9]+}}
31 ; GCN-DAG: v_mac_f32_e64 [[MAD:v[0-9]+]], 2.0, [[X]]
[all …]
Dsminmax.ll1 ; RUN: llc -march=amdgcn -mcpu=verde -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
5 ; GCN: s_abs_i32
6 ; GCN: s_add_i32
17 ; GCN: v_sub_i32_e32 [[NEG:v[0-9]+]], vcc, 0, [[SRC:v[0-9]+]]
18 ; GCN: v_max_i32_e32 {{v[0-9]+}}, [[NEG]], [[SRC]]
19 ; GCN: v_add_i32
31 ; GCN: s_abs_i32
32 ; GCN: s_abs_i32
33 ; GCN: s_add_i32
[all …]
Datomic_cmp_swap_local.ll1 …einstrs < %s | FileCheck -check-prefix=SI -check-prefix=SICI -check-prefix=GCN -check-prefix=FUNC …
2 …nstrs < %s | FileCheck -check-prefix=SICI -check-prefix=CIVI -check-prefix=GCN -check-prefix=FUNC …
3 …einstrs < %s | FileCheck -check-prefix=VI -check-prefix=CIVI -check-prefix=GCN -check-prefix=FUNC …
6 ; GCN: v_mov_b32_e32 [[VCMP:v[0-9]+]], 7
11 ; GCN-DAG: v_mov_b32_e32 [[VPTR:v[0-9]+]], [[PTR]]
12 ; GCN-DAG: v_mov_b32_e32 [[VSWAP:v[0-9]+]], [[SWAP]]
13 ; GCN: ds_cmpst_rtn_b32 [[RESULT:v[0-9]+]], [[VPTR]], [[VCMP]], [[VSWAP]] offset:16
14 ; GCN: s_endpgm
24 ; GCN-DAG: v_mov_b32_e32 v[[LOVCMP:[0-9]+]], 7
25 ; GCN-DAG: v_mov_b32_e32 v[[HIVCMP:[0-9]+]], 0
[all …]
Dmadak.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN
2 …rch=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN %s
9 ; GCN-LABEL: {{^}}madak_f32:
10 ; GCN: buffer_load_dword [[VA:v[0-9]+]]
11 ; GCN: buffer_load_dword [[VB:v[0-9]+]]
12 ; GCN: v_madak_f32_e32 {{v[0-9]+}}, [[VA]], [[VB]], 0x41200000
32 ; GCN-LABEL: {{^}}madak_2_use_f32:
33 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
34 ; GCN-DAG: buffer_load_dword [[VB:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
35 ; GCN-DAG: buffer_load_dword [[VC:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
[all …]
Dkernel-args.ll1 …pu=SI -verify-machineinstrs | FileCheck %s --check-prefix=SI --check-prefix=GCN --check-prefix=FUNC
2 …tonga -verify-machineinstrs | FileCheck %s --check-prefix=VI --check-prefix=GCN --check-prefix=FUNC
10 ; GCN: s_and_b32 s{{[0-9]+}}, [[VAL]], 0xff
47 ; GCN: s_and_b32 s{{[0-9]+}}, [[VAL]], 0xff
103 ; GCN: buffer_load_ubyte
104 ; GCN: buffer_load_ubyte
114 ; GCN-DAG: buffer_load_ushort
115 ; GCN-DAG: buffer_load_ushort
192 ; GCN: buffer_load_ubyte
193 ; GCN: buffer_load_ubyte
[all …]
Dpromote-alloca-stored-pointer-value.ll1 ; RUN: llc -march=amdgcn < %s | FileCheck -check-prefix=GCN %s
5 ; GCN-LABEL: {{^}}stored_lds_pointer_value:
6 ; GCN: buffer_store_dword v
14 ; GCN-LABEL: {{^}}stored_lds_pointer_value_gep:
15 ; GCN-DAG: s_mov_b32 s{{[0-9]+}}, SCRATCH_RSRC_DWORD0
16 ; GCN-DAG: s_mov_b32 s{{[0-9]+}}, SCRATCH_RSRC_DWORD1
17 ; GCN: buffer_store_dword v
18 ; GCN: buffer_store_dword v
29 ; GCN-LABEL: {{^}}stored_vector_pointer_value:
30 ; GCN-DAG: s_mov_b32 s{{[0-9]+}}, SCRATCH_RSRC_DWORD0
[all …]
Dv_mac.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN
2 …rch=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=VI -check-prefix=GCN %s
4 ; GCN-LABEL: {{^}}mac_vvv:
5 ; GCN: buffer_load_dword [[A:v[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0{{$}}
6 ; GCN: buffer_load_dword [[B:v[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0 offset:4
7 ; GCN: buffer_load_dword [[C:v[0-9]+]], s[{{[0-9]+:[0-9]+}}], 0 offset:8
8 ; GCN: v_mac_f32_e32 [[C]], [[B]], [[A]]
9 ; GCN: buffer_store_dword [[C]]
25 ; GCN-LABEL: {{^}}mad_inline_sgpr_inline:
26 ; GCN-NOT: v_mac_f32
[all …]
Dmadmk.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
2 ; XUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -chec…
7 ; GCN-LABEL: {{^}}madmk_f32:
8 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
9 ; GCN-DAG: buffer_load_dword [[VB:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
10 ; GCN: v_madmk_f32_e32 {{v[0-9]+}}, [[VA]], [[VB]], 0x41200000
26 ; GCN-LABEL: {{^}}madmk_2_use_f32:
27 ; GCN-DAG: buffer_load_dword [[VA:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
28 ; GCN-DAG: buffer_load_dword [[VB:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
29 ; GCN-DAG: buffer_load_dword [[VC:v[0-9]+]], {{v\[[0-9]+:[0-9]+\]}}, {{s\[[0-9]+:[0-9]+\]}}, 0 addr…
[all …]
Dcgp-addressing-modes.ll4 ; RUN: llc -march=amdgcn -mcpu=tahiti -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -ch…
5 ; RUN: llc -march=amdgcn -mcpu=bonaire -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -c…
6 ; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-promote-alloca < %s | FileCheck -check-prefix=GCN -che…
16 ; GCN-LABEL: {{^}}test_sink_global_small_offset_i32:
17 ; GCN: {{^}}BB0_2:
42 ; GCN-LABEL: {{^}}test_sink_global_small_max_i32_ds_offset:
43 ; GCN: s_and_saveexec_b64
44 ; GCN: buffer_load_sbyte {{v[0-9]+}}, {{s\[[0-9]+:[0-9]+\]}}, s{{[0-9]+$}}
45 ; GCN: {{^}}BB1_2:
46 ; GCN: s_or_b64 exec
[all …]
Dllvm.r600.read.local.size.ll1 …nstrs < %s | FileCheck -check-prefix=SI -check-prefix=GCN -check-prefix=SI-NOHSA -check-prefix=GCN
2 … FileCheck -check-prefix=VI -check-prefix=VI-NOHSA -check-prefix=GCN -check-prefix=GCN-NOHSA -che…
15 ; GCN: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
16 ; GCN: buffer_store_dword [[VVAL]]
30 ; GCN: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
31 ; GCN: buffer_store_dword [[VVAL]]
45 ; GCN: v_mov_b32_e32 [[VVAL:v[0-9]+]], [[VAL]]
46 ; GCN: buffer_store_dword [[VVAL]]
59 ; GCN-DAG: v_mov_b32_e32 [[VY:v[0-9]+]], [[Y]]
60 ; GCN: v_mul_u32_u24_e32 [[VAL:v[0-9]+]], [[X]], [[VY]]
[all …]
Dcommute-compares.ll1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=SI …
9 ; GCN-LABEL: {{^}}commute_eq_64_i32:
10 ; GCN: v_cmp_eq_i32_e32 vcc, 64, v{{[0-9]+}}
22 ; GCN-LABEL: {{^}}commute_ne_64_i32:
23 ; GCN: v_cmp_ne_i32_e32 vcc, 64, v{{[0-9]+}}
36 ; GCN-LABEL: {{^}}commute_ne_litk_i32:
37 ; GCN: v_mov_b32_e32 [[K:v[0-9]+]], 0x3039
38 ; GCN: v_cmp_ne_i32_e32 vcc, [[K]], v{{[0-9]+}}
50 ; GCN-LABEL: {{^}}commute_ugt_64_i32:
51 ; GCN: v_cmp_lt_u32_e32 vcc, 64, v{{[0-9]+}}
[all …]

123