Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ObjectYAML / Offload / multiple_members.yaml
blobac73d16e429a9ba17bdbcb92d67d79d680e82b66
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 !Offload
3 Members:
4   - ImageKind:        IMG_Cubin
5     OffloadKind:      OFK_OpenMP
6     Flags:            0
7     String:
8     - Key:              "triple"
9       Value:            "nvptx64-nvidia-cuda"
10     - Key:              "arch"
11       Value:            "sm_70"
12     Content:          "deadbeef"  
13   - ImageKind:        IMG_Bitcode
14     OffloadKind:      OFK_OpenMP
15     Flags:            0
16     String:
17     - Key:              "triple"
18       Value:            "amdgcn-amd-amdhsa"
19     - Key:              "arch"
20       Value:            "gfx908"
21     Content:          "cafefeed"  
23 # CHECK: --- !Offload
24 # CHECK-NEXT: Members:
25 # CHECK-NEXT:   - ImageKind:       IMG_Cubin
26 # CHECK-NEXT:     OffloadKind:     OFK_OpenMP
27 # CHECK-NEXT:     Flags:           0
28 # CHECK-NEXT:     String:
29 # CHECK-NEXT:       - Key:             triple
30 # CHECK-NEXT:         Value:           nvptx64-nvidia-cuda
31 # CHECK-NEXT:       - Key:             arch
32 # CHECK-NEXT:         Value:           sm_70
33 # CHECK-NEXT:     Content:         DEADBEEF
34 # CHECK-NEXT:   - ImageKind:       IMG_Bitcode
35 # CHECK-NEXT:     OffloadKind:     OFK_OpenMP
36 # CHECK-NEXT:     Flags:           0
37 # CHECK-NEXT:     String:
38 # CHECK-NEXT:       - Key:             triple
39 # CHECK-NEXT:         Value:           amdgcn-amd-amdhsa
40 # CHECK-NEXT:       - Key:             arch
41 # CHECK-NEXT:         Value:           gfx908
42 # CHECK-NEXT:     Content:         CAFEFEED
43 # CHECK-NEXT: ...