Files
archived-llvm/test/CodeGen/WebAssembly/globl.ll
JF Bastien 0118969fbd WebAssembly: emit (func (param t) (result t)) s-expressions
Summary: Match spec format: https://github.com/WebAssembly/spec/blob/master/ml-proto/test/fac.wasm

Reviewers: sunfish

Subscribers: llvm-commits, jfb

Differential Revision: http://reviews.llvm.org/D12307

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245986 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-25 22:58:05 +00:00

15 lines
330 B
LLVM

; 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
}