aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll')
-rw-r--r--llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll b/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll
new file mode 100644
index 0000000..5a7d88d
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/X86/fast-cc-tail-call.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -x86-asm-syntax=intel -enable-x86-fastcc | not grep call
+
+fastcc int %bar(int %X, int(double, int) *%FP) {
+ %Y = tail call fastcc int %FP(double 0.0, int %X)
+ ret int %Y
+}
+