summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcall-i1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/tailcall-i1.ll')
-rw-r--r--test/CodeGen/X86/tailcall-i1.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/tailcall-i1.ll b/test/CodeGen/X86/tailcall-i1.ll
new file mode 100644
index 000000000000..0ec6a7780722
--- /dev/null
+++ b/test/CodeGen/X86/tailcall-i1.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=x86 -tailcallopt | grep TAILCALL
+define fastcc i1 @i1test(i32, i32, i32, i32) {
+ entry:
+ %4 = tail call fastcc i1 @i1test( i32 %0, i32 %1, i32 %2, i32 %3)
+ ret i1 %4
+}