repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use Align for TFL::TransientStackAlignment
[llvm-core.git]
/
test
/
CodeGen
/
WebAssembly
/
globl.ll
blob
7f9f81d7beb37b85a81f75449bdc6b79eb3e47e8
1
; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4
target triple = "wasm32-unknown-unknown"
5
6
; CHECK: .globl foo
7
; CHECK: .type foo,@function
8
; CHECK-LABEL: foo:
9
; CHECK: .size foo,
10
define i32* @foo() {
11
ret i32* @bar
12
}
13
14
; CHECK: .type bar,@object
15
; CHECK: .globl bar
16
; CHECK: .size bar, 4
17
@bar = global i32 2