diff --git a/test/Regression/CodeGen/X86/fast-cc-tail-call.ll b/test/Regression/CodeGen/X86/fast-cc-tail-call.ll new file mode 100644 index 00000000000..5a7d88d75bb --- /dev/null +++ b/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 +} +