annotate test/CodeGen/WebAssembly/globl.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 ; RUN: llc < %s -asm-verbose=false | FileCheck %s
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
100
7d135dc70f03 LLVM 3.9
Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
parents: 95
diff changeset
3 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
121
803732b1fca8 LLVM 5.0
kono
parents: 100
diff changeset
4 target triple = "wasm32-unknown-unknown-wasm"
95
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 ; CHECK: .globl foo
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 ; CHECK-LABEL: foo:
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 define void @foo() {
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 ret void
afa8332a0e37 LLVM 3.8
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 }
121
803732b1fca8 LLVM 5.0
kono
parents: 100
diff changeset
11
803732b1fca8 LLVM 5.0
kono
parents: 100
diff changeset
12 ; Check import directives - must be at the end of the file
803732b1fca8 LLVM 5.0
kono
parents: 100
diff changeset
13 ; CHECK: .import_global bar{{$}}
803732b1fca8 LLVM 5.0
kono
parents: 100
diff changeset
14 @bar = external global i32