brintos

brintos / llvm-project-archived public Read only

0
0
Text · 350 B · 8da09a4 Raw
12 lines · plain
1; RUN: not llc -mtriple=aarch64-unknown-unknown %s -o - 2>&1 | FileCheck %s2 3; Incompatible calling convention causes following error message.4 5; CHECK: cannot guarantee tail call due to mismatched calling conv6 7declare preserve_nonecc void @callee(ptr)8define void @caller(ptr %a) {9  musttail call preserve_nonecc void @callee(ptr %a)10  ret void11}12