diff options
Diffstat (limited to 'test/CodeGen/X86/tailcall-structret.ll')
-rw-r--r-- | test/CodeGen/X86/tailcall-structret.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/tailcall-structret.ll b/test/CodeGen/X86/tailcall-structret.ll new file mode 100644 index 0000000..d8be4b2 --- /dev/null +++ b/test/CodeGen/X86/tailcall-structret.ll @@ -0,0 +1,6 @@ +; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL +define fastcc { { i8*, i8* }*, i8*} @init({ { i8*, i8* }*, i8*}, i32) { +entry: + %2 = tail call fastcc { { i8*, i8* }*, i8* } @init({ { i8*, i8*}*, i8*} %0, i32 %1) + ret { { i8*, i8* }*, i8*} %2 +} |