File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed
test/CodeGen/AMDGPU/GlobalISel Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change @@ -1506,6 +1506,8 @@ AMDGPURegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
1506
1506
case Intrinsic::amdgcn_sdot8:
1507
1507
case Intrinsic::amdgcn_udot8:
1508
1508
case Intrinsic::amdgcn_fdiv_fast:
1509
+ case Intrinsic::amdgcn_wwm:
1510
+ case Intrinsic::amdgcn_wqm:
1509
1511
return getDefaultMappingVOP (MI);
1510
1512
case Intrinsic::amdgcn_ds_permute:
1511
1513
case Intrinsic::amdgcn_ds_bpermute:
Original file line number Diff line number Diff line change
1
+ # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2
+ # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect -regbankselect-fast -verify-machineinstrs -o - %s | FileCheck %s
3
+ # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect -regbankselect-greedy -verify-machineinstrs -o - %s | FileCheck %s
4
+
5
+ ---
6
+ name : wqm_s
7
+ legalized : true
8
+
9
+ body : |
10
+ bb.0:
11
+ liveins: $sgpr0
12
+ ; CHECK-LABEL: name: wqm_s
13
+ ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
14
+ ; CHECK: [[INT:%[0-9]+]]:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm), [[COPY]](s32)
15
+ %0:_(s32) = COPY $sgpr0
16
+ %1:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm), %0
17
+ ...
18
+
19
+ ---
20
+ name : wqm_v
21
+ legalized : true
22
+
23
+ body : |
24
+ bb.0:
25
+ liveins: $vgpr0
26
+ ; CHECK-LABEL: name: wqm_v
27
+ ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
28
+ ; CHECK: [[INT:%[0-9]+]]:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm), [[COPY]](s32)
29
+ %0:_(s32) = COPY $vgpr0
30
+ %1:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm), %0
31
+ ...
Original file line number Diff line number Diff line change
1
+ # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2
+ # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect -regbankselect-fast -verify-machineinstrs -o - %s | FileCheck %s
3
+ # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect -regbankselect-greedy -verify-machineinstrs -o - %s | FileCheck %s
4
+
5
+ ---
6
+ name : wwm_s
7
+ legalized : true
8
+
9
+ body : |
10
+ bb.0:
11
+ liveins: $sgpr0
12
+ ; CHECK-LABEL: name: wwm_s
13
+ ; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
14
+ ; CHECK: [[INT:%[0-9]+]]:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wwm), [[COPY]](s32)
15
+ %0:_(s32) = COPY $sgpr0
16
+ %1:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wwm), %0
17
+ ...
18
+
19
+ ---
20
+ name : wwm_v
21
+ legalized : true
22
+
23
+ body : |
24
+ bb.0:
25
+ liveins: $vgpr0
26
+ ; CHECK-LABEL: name: wwm_v
27
+ ; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
28
+ ; CHECK: [[INT:%[0-9]+]]:vgpr(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wwm), [[COPY]](s32)
29
+ %0:_(s32) = COPY $vgpr0
30
+ %1:_(s32) = G_INTRINSIC intrinsic(@llvm.amdgcn.wwm), %0
31
+ ...
You can’t perform that action at this time.
0 commit comments