forked from OSchip/llvm-project
15 lines
342 B
LLVM
15 lines
342 B
LLVM
; RUN: llc < %s -asm-verbose=false | FileCheck %s
|
|
|
|
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
|
|
target triple = "wasm32-unknown-unknown"
|
|
|
|
; CHECK: .globl foo
|
|
; CHECK-LABEL: foo:
|
|
define void @foo() {
|
|
ret void
|
|
}
|
|
|
|
; Check import directives - must be at the end of the file
|
|
; CHECK: .import_global bar{{$}}
|
|
@bar = external global i32
|