diff options
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/X86/fast-cc-tail-call.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fast-cc-tail-call.ll b/test/CodeGen/X86/fast-cc-tail-call.ll new file mode 100644 index 0000000..5a7d88d --- /dev/null +++ b/test/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 +} + |