Index: llvm/trunk/lib/Target/WebAssembly/WebAssembly.td =================================================================== --- llvm/trunk/lib/Target/WebAssembly/WebAssembly.td +++ llvm/trunk/lib/Target/WebAssembly/WebAssembly.td @@ -86,7 +86,8 @@ // Latest and greatest experimental version of WebAssembly. Bugs included! def : ProcessorModel<"bleeding-edge", NoSchedModel, [FeatureSIMD128, FeatureAtomics, - FeatureNontrappingFPToInt, FeatureSignExt]>; + FeatureNontrappingFPToInt, FeatureSignExt, + FeatureMutableGlobals]>; //===----------------------------------------------------------------------===// // Target Declaration Index: llvm/trunk/test/CodeGen/WebAssembly/target-features.ll =================================================================== --- llvm/trunk/test/CodeGen/WebAssembly/target-features.ll +++ llvm/trunk/test/CodeGen/WebAssembly/target-features.ll @@ -75,11 +75,14 @@ ; SIMD128-NEXT: .ascii "simd128" ; +atomics, +nontrapping-fptoint, +sign-ext, +simd128 -; BLEEDING-EDGE-NEXT: .int8 4 +; BLEEDING-EDGE-NEXT: .int8 5 ; BLEEDING-EDGE-NEXT: .int8 43 ; BLEEDING-EDGE-NEXT: .int8 7 ; BLEEDING-EDGE-NEXT: .ascii "atomics" ; BLEEDING-EDGE-NEXT: .int8 43 +; BLEEDING-EDGE-NEXT: .int8 15 +; BLEEDING-EDGE-NEXT: .ascii "mutable-globals" +; BLEEDING-EDGE-NEXT: .int8 43 ; BLEEDING-EDGE-NEXT: .int8 19 ; BLEEDING-EDGE-NEXT: .ascii "nontrapping-fptoint" ; BLEEDING-EDGE-NEXT: .int8 43