[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / GlobalISel / regbankselect-ptrtoint.mir
blobff7f953096f4521fadf75b84cb1117f7ddbbadf3
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -run-pass=amdgpu-regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s
3 # RUN: llc -march=amdgcn -run-pass=amdgpu-regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s
5 ---
6 name: ptrtoint_s
7 legalized: true
9 body: |
10   bb.0:
11     liveins: $sgpr0_sgpr1
12     ; CHECK-LABEL: name: ptrtoint_s
13     ; CHECK: liveins: $sgpr0_sgpr1
14     ; CHECK-NEXT: {{  $}}
15     ; CHECK-NEXT: [[COPY:%[0-9]+]]:sgpr(p1) = COPY $sgpr0_sgpr1
16     ; CHECK-NEXT: [[PTRTOINT:%[0-9]+]]:sgpr(s64) = G_PTRTOINT [[COPY]](p1)
17     %0:_(p1) = COPY $sgpr0_sgpr1
18     %1:_(s64) = G_PTRTOINT %0
19 ...
21 ---
22 name: ptrtoint_v
23 legalized: true
25 body: |
26   bb.0:
27     liveins: $vgpr0_vgpr1
28     ; CHECK-LABEL: name: ptrtoint_v
29     ; CHECK: liveins: $vgpr0_vgpr1
30     ; CHECK-NEXT: {{  $}}
31     ; CHECK-NEXT: [[COPY:%[0-9]+]]:vgpr(p1) = COPY $vgpr0_vgpr1
32     ; CHECK-NEXT: [[PTRTOINT:%[0-9]+]]:vgpr(s64) = G_PTRTOINT [[COPY]](p1)
33     %0:_(p1) = COPY $vgpr0_vgpr1
34     %1:_(s64) = G_PTRTOINT %0
35 ...