[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / GlobalISel / regbankselect-inttoptr.mir
blobc1d347bdf8c11565fafcd60e879cb0a0dd74dc1c
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: inttoptr_s
7 legalized: true
9 body: |
10   bb.0:
11     liveins: $sgpr0_sgpr1
12     ; CHECK-LABEL: name: inttoptr_s
13     ; CHECK: liveins: $sgpr0_sgpr1
14     ; CHECK-NEXT: {{  $}}
15     ; CHECK-NEXT: [[COPY:%[0-9]+]]:sgpr(s64) = COPY $sgpr0_sgpr1
16     ; CHECK-NEXT: [[INTTOPTR:%[0-9]+]]:sgpr(p4) = G_INTTOPTR [[COPY]](s64)
17     %0:_(s64) = COPY $sgpr0_sgpr1
18     %1:_(p4) = G_INTTOPTR %0
19 ...
21 ---
22 name: inttoptr_v
23 legalized: true
25 body: |
26   bb.0:
27     liveins: $vgpr0_vgpr1
28     ; CHECK-LABEL: name: inttoptr_v
29     ; CHECK: liveins: $vgpr0_vgpr1
30     ; CHECK-NEXT: {{  $}}
31     ; CHECK-NEXT: [[COPY:%[0-9]+]]:vgpr(s64) = COPY $vgpr0_vgpr1
32     ; CHECK-NEXT: [[INTTOPTR:%[0-9]+]]:vgpr(p0) = G_INTTOPTR [[COPY]](s64)
33     %0:_(s64) = COPY $vgpr0_vgpr1
34     %1:_(p0) = G_INTTOPTR %0
35 ...