[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / WebAssembly / mutable-globals.ll
blob45b485482c8ca0e185435cdc62e963364e6098a7
1 ; RUN: llc < %s -mattr=+mutable-globals | FileCheck %s
3 ; Test that mutable globals is properly emitted into the target features section
5 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
6 target triple = "wasm32-unknown-unknown"
8 define void @foo() {
9   ret void
12 ; CHECK-LABEL: .custom_section.target_features
13 ; CHECK-NEXT: .int8 1
14 ; CHECK-NEXT: .int8 43
15 ; CHECK-NEXT: .int8 15
16 ; CHECK-NEXT: .ascii "mutable-globals"