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