repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[IRBuilder] Add Align argument for CreateMaskedExpandLoad and CreateMaskedCompressSto...
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
WebAssembly
/
globl.ll
blob
0bfa3712deb4f3470ce7b5e0eb299252405e9c02
1
; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3
target triple = "wasm32-unknown-unknown"
4
5
; CHECK: .globl foo
6
; CHECK: .type foo,@function
7
; CHECK-LABEL: foo:
8
; CHECK: end_function
9
define ptr @foo() {
10
ret ptr @bar
11
}
12
13
; CHECK: .type bar,@object
14
; CHECK: .globl bar
15
; CHECK: .size bar, 4
16
@bar = global i32 2