blob: e748b7ec1c7e5ee1c9109ed293866a7d9c7c689d [file] [log] [blame]
Dan Gohmandb1916a2018-02-09 23:13:22 +00001; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4target triple = "wasm32-unknown-unknown-wasm"
5
6define void @test() {
7 call void @foo()
8 call void @plain()
9 ret void
10}
11
12declare void @foo() #0
13declare void @plain()
14
15attributes #0 = { "wasm-import-module"="bar" }
16
17; CHECK-NOT: .import_module plain
18; CHECK: .import_module foo, bar
19; CHECK-NOT: .import_module plain