1; RUN: llc < %s -asm-verbose=false | FileCheck %s
2
3; Test that the "returned" attribute works with i128 types.
4; PR36128
5
6target triple = "wasm32-unknown-unknown"
7
8declare i128 @bar(i128 returned)
9
10define i128 @foo(i128) {
11  %r = tail call i128 @bar(i128 %0)
12  ret i128 %r
13}
14
15; CHECK: .functype bar (i32, i64, i64) -> ()
16
17; CHECK-LABEL: foo:
18; CHECK-NEXT: .functype foo (i32, i64, i64) -> ()
19