xref: /llvm-project/llvm/test/CodeGen/WebAssembly/memory64-feature.ll (revision 0807bc7e07f0430bd5b048d5c08f09442aab3b7d)
1; RUN: llc -mcpu=mvp < %s | FileCheck %s
2
3; Test that wasm64 is properly emitted into the target features section
4
5target triple = "wasm64-unknown-unknown"
6
7define void @foo() {
8  ret void
9}
10
11; CHECK-LABEL: .custom_section.target_features
12; CHECK-NEXT: .int8 1
13; CHECK-NEXT: .int8 43
14; CHECK-NEXT: .int8 8
15; CHECK-NEXT: .ascii "memory64"
16