brintos

brintos / llvm-project-archived public Read only

0
0
Text · 379 B · 93962f7 Raw
16 lines · plain
1; RUN: llc < %s -mcpu=mvp -mattr=+mutable-globals | FileCheck %s2 3; Test that mutable globals is properly emitted into the target features section4 5target triple = "wasm32-unknown-unknown"6 7define void @foo() {8  ret void9}10 11; CHECK-LABEL: .custom_section.target_features12; CHECK-NEXT: .int8 113; CHECK-NEXT: .int8 4314; CHECK-NEXT: .int8 1515; CHECK-NEXT: .ascii "mutable-globals"16