[Transforms] Silence a warning in SROA.cpp (NFC)
[llvm-project.git] / llvm / test / tools / llvm-objdump / Offloading / coff.test
blob022277d137bd4ec4a7ab59ecb0ee885ae84dd986
1 # RUN: yaml2obj %S/Inputs/binary.yaml -o %t.bin
2 # RUN: yaml2obj %s -o %t.coff
3 # RUN: llvm-objcopy --add-section .llvm.offloading=%t.bin %t.coff
4 # RUN: llvm-objdump --offloading %t.coff | FileCheck %s --match-full-lines --strict-whitespace --implicit-check-not={{.}}
6 --- !COFF
7 header:
8   Machine:         IMAGE_FILE_MACHINE_AMD64
9   Characteristics: []
10 sections:
11   - Name:            .rdata
12     Characteristics: []
13   - Name:            .llvm.offloading
14     Characteristics: [ IMAGE_SCN_LNK_REMOVE, IMAGE_SCN_MEM_DISCARDABLE ]
15     Alignment:       8
16 symbols:
18 #      CHECK:{{.*}}file format coff-x86-64
19 # CHECK-EMPTY:
20 # CHECK-NEXT:OFFLOADING IMAGE [0]:
21 # CHECK-NEXT:kind            llvm ir
22 # CHECK-NEXT:arch            gfx908
23 # CHECK-NEXT:triple          amdgcn-amd-amdhsa
24 # CHECK-NEXT:producer        openmp
25 # CHECK-EMPTY:
26 # CHECK-NEXT:OFFLOADING IMAGE [1]:
27 # CHECK-NEXT:kind            llvm ir
28 # CHECK-NEXT:arch            gfx90a
29 # CHECK-NEXT:triple          amdgcn-amd-amdhsa
30 # CHECK-NEXT:producer        openmp
31 # CHECK-EMPTY:
32 # CHECK-NEXT:OFFLOADING IMAGE [2]:
33 # CHECK-NEXT:kind            cubin
34 # CHECK-NEXT:arch            sm_52
35 # CHECK-NEXT:triple          nvptx64-nvidia-cuda
36 # CHECK-NEXT:producer        openmp
37 # CHECK-EMPTY:
38 # CHECK-NEXT:OFFLOADING IMAGE [3]:
39 # CHECK-NEXT:kind            <none>
40 # CHECK-NEXT:arch            sm_70
41 # CHECK-NEXT:triple          nvptx64-nvidia-cuda
42 # CHECK-NEXT:producer        none