[PowerPC] Generate Power9 extswsli extend sign and shift immediate instruction
[llvm-core.git] / test / CodeGen / WebAssembly / custom-sections.ll
blobcf21b0af4fb12e2303d9b12770508c4e8402b54d
1 ; RUN: llc < %s -asm-verbose=false | FileCheck %s
3 ; Test the mechanism for defining user custom sections.
5 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6 target triple = "wasm32-unknown-unknown"
8 !0 = !{ !"red", !"foo" }
9 !1 = !{ !"green", !"bar" }
10 !2 = !{ !"green", !"qux" }
11 !wasm.custom_sections = !{ !0, !1, !2 }
13 ; CHECK:      .section  .custom_section.red,"",@
14 ; CHECK-NEXT: .ascii    "foo"
16 ; CHECK:      .section  .custom_section.green,"",@
17 ; CHECK-NEXT: .ascii    "bar"
19 ; CHECK:      .section  .custom_section.green,"",@
20 ; CHECK-NEXT: .ascii    "qux"