summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/globl.ll
blob: 8d8218f4842e8bf1e71ab4bf7531bd34ad05cb26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -asm-verbose=false | FileCheck %s

; Test that the `.globl` directive is commented out.

target datalayout = "e-p:32:32-i64:64-v128:8:128-n32:64-S128"
target triple = "wasm32-unknown-unknown"

; CHECK-NOT: globl
; CHECK: ;; .globl foo
; CHECK-NOT: globl
; CHECK-LABEL: (func $foo
define void @foo() {
  ret void
}
OpenPOWER on IntegriCloud