Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / CodeGen / WebAssembly / mutable-globals.ll
blob93962f7e6d92c3d89d49d0182204c63b18f16b80
1 ; RUN: llc < %s -mcpu=mvp -mattr=+mutable-globals | FileCheck %s
3 ; Test that mutable globals is properly emitted into the target features section
5 target triple = "wasm32-unknown-unknown"
7 define void @foo() {
8   ret void
11 ; CHECK-LABEL: .custom_section.target_features
12 ; CHECK-NEXT: .int8 1
13 ; CHECK-NEXT: .int8 43
14 ; CHECK-NEXT: .int8 15
15 ; CHECK-NEXT: .ascii "mutable-globals"