brintos

brintos / llvm-project-archived public Read only

0
0
Text · 392 B · 7dedb1c Raw
19 lines · plain
1; RUN: llc < %s -asm-verbose=false | FileCheck %s2 3; Test that the "returned" attribute works with i128 types.4; PR361285 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 %r13}14 15; CHECK: .functype bar (i32, i64, i64) -> ()16 17; CHECK-LABEL: foo:18; CHECK-NEXT: .functype foo (i32, i64, i64) -> ()19