xref: /llvm-project/llvm/test/CodeGen/ARM/tailcc-notail.ll (revision 9ff2eb1ea596a52ad2b5cfab826548c3af0a1e6e)
1*9ff2eb1eSTim Northover; RUN: not --crash llc -mtriple=thumbv7k-apple-ios %s -o - 2>&1 | FileCheck %s
2*9ff2eb1eSTim Northover
3*9ff2eb1eSTim Northover; CHECK: LLVM ERROR: failed to perform tail call elimination on a call site marked musttail
4*9ff2eb1eSTim Northoverdeclare tailcc [16 x i64] @callee()
5*9ff2eb1eSTim Northoverdefine tailcc [16 x i64] @caller() {
6*9ff2eb1eSTim Northover  %res = musttail call tailcc [16 x i64] @callee()
7*9ff2eb1eSTim Northover  ret [16 x i64] %res
8*9ff2eb1eSTim Northover}
9