xref: /aosp_15_r20/external/llvm/test/CodeGen/WebAssembly/globl.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -asm-verbose=false | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4*9880d681SAndroid Build Coastguard Workertarget triple = "wasm32-unknown-unknown"
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker; CHECK: .globl foo
7*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: foo:
8*9880d681SAndroid Build Coastguard Workerdefine void @foo() {
9*9880d681SAndroid Build Coastguard Worker  ret void
10*9880d681SAndroid Build Coastguard Worker}
11